|
@@ -888,7 +888,7 @@ static int ath6kl_set_probed_ssids(struct ath6kl *ar,
|
|
|
{
|
|
|
u8 i;
|
|
|
|
|
|
- if (n_ssids > MAX_PROBED_SSID_INDEX)
|
|
|
+ if (n_ssids > MAX_PROBED_SSIDS)
|
|
|
return -EINVAL;
|
|
|
|
|
|
for (i = 0; i < n_ssids; i++) {
|
|
@@ -900,7 +900,7 @@ static int ath6kl_set_probed_ssids(struct ath6kl *ar,
|
|
|
}
|
|
|
|
|
|
/* Make sure no old entries are left behind */
|
|
|
- for (i = n_ssids; i < MAX_PROBED_SSID_INDEX; i++) {
|
|
|
+ for (i = n_ssids; i < MAX_PROBED_SSIDS; i++) {
|
|
|
ath6kl_wmi_probedssid_cmd(ar->wmi, vif->fw_vif_idx, i,
|
|
|
DISABLE_SSID_FLAG, 0, NULL);
|
|
|
}
|
|
@@ -3470,7 +3470,7 @@ int ath6kl_cfg80211_init(struct ath6kl *ar)
|
|
|
}
|
|
|
|
|
|
/* max num of ssids that can be probed during scanning */
|
|
|
- wiphy->max_scan_ssids = MAX_PROBED_SSID_INDEX;
|
|
|
+ wiphy->max_scan_ssids = MAX_PROBED_SSIDS;
|
|
|
wiphy->max_scan_ie_len = 1000; /* FIX: what is correct limit? */
|
|
|
switch (ar->hw.cap) {
|
|
|
case WMI_11AN_CAP:
|
|
@@ -3527,7 +3527,7 @@ int ath6kl_cfg80211_init(struct ath6kl *ar)
|
|
|
wiphy->wowlan.pattern_min_len = 1;
|
|
|
wiphy->wowlan.pattern_max_len = WOW_PATTERN_SIZE;
|
|
|
|
|
|
- wiphy->max_sched_scan_ssids = MAX_PROBED_SSID_INDEX;
|
|
|
+ wiphy->max_sched_scan_ssids = MAX_PROBED_SSIDS;
|
|
|
|
|
|
ar->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM |
|
|
|
WIPHY_FLAG_HAVE_AP_SME |
|