diff options
author | Pierre Vandwalle <vandwalle@google.com> | 2015-03-18 19:20:27 -0700 |
---|---|---|
committer | Pierre Vandwalle <vandwalle@google.com> | 2015-03-18 19:46:36 -0700 |
commit | 886a7c99f8664295fe233034cac84d6253324641 (patch) | |
tree | 747fb0527bf6e04cea775860985095beb177f6b6 /bcmdhd/wifi_hal | |
parent | 4b1f1c6ba8e27abd5453e67198c8fe92dec33dd4 (diff) | |
download | hardware_broadcom_wlan-886a7c99f8664295fe233034cac84d6253324641.zip hardware_broadcom_wlan-886a7c99f8664295fe233034cac84d6253324641.tar.gz hardware_broadcom_wlan-886a7c99f8664295fe233034cac84d6253324641.tar.bz2 |
rename num_ap into num_bssid
Change-Id: If07a6c0b3f9bb29768c17409abaa2995a003b669
Diffstat (limited to 'bcmdhd/wifi_hal')
-rw-r--r-- | bcmdhd/wifi_hal/gscan.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bcmdhd/wifi_hal/gscan.cpp b/bcmdhd/wifi_hal/gscan.cpp index a6286f5..feae078 100644 --- a/bcmdhd/wifi_hal/gscan.cpp +++ b/bcmdhd/wifi_hal/gscan.cpp @@ -964,7 +964,7 @@ public: } struct nlattr * attr = request.attr_start(GSCAN_ATTRIBUTE_HOTLIST_BSSIDS); - for (int i = 0; i < mParams.num_ap; i++) { + for (int i = 0; i < mParams.num_bssid; i++) { nlattr *attr2 = request.attr_start(GSCAN_ATTRIBUTE_HOTLIST_ELEM); if (attr2 == NULL) { return WIFI_ERROR_OUT_OF_MEMORY; @@ -1008,7 +1008,7 @@ public: } int start() { - ALOGI("Executing hotlist setup request, num = %d", mParams.num_ap); + ALOGI("Executing hotlist setup request, num = %d", mParams.num_bssid); WifiRequest request(familyId(), ifaceId()); int result = createSetupRequest(request); if (result < 0) { @@ -1023,7 +1023,7 @@ public: return result; } - ALOGI("Successfully set %d APs in the hotlist", mParams.num_ap); + ALOGI("Successfully set %d APs in the hotlist ", mParams.num_bssid); result = createFeatureRequest(request, GSCAN_SUBCMD_ENABLE_GSCAN, 1); if (result < 0) { return result; @@ -1174,8 +1174,7 @@ public: struct nlattr * attr = request.attr_start(GSCAN_ATTRIBUTE_SIGNIFICANT_CHANGE_BSSIDS); - for (int i = 0; i < mParams.num_ap; i++) { - + for (int i = 0; i < mParams.num_bssid; i++) { nlattr *attr2 = request.attr_start(i); if (attr2 == NULL) { return WIFI_ERROR_OUT_OF_MEMORY; |