]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ath6kl: Configure probed SSID list consistently
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 16 Apr 2012 16:28:03 +0000 (19:28 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 18 Apr 2012 10:12:26 +0000 (13:12 +0300)
commit3b8ffc6a22ba05d5ce12f375b060c9e62ed8f016
tree9f19406d6273ac711bf8cf01841803894bf9e335
parenta432e7cc4f3e59f2fd75bb2fd66580f16e8a7447
ath6kl: Configure probed SSID list consistently

Set max_scan_ssids and max_sched_scan_ssids to same value. These use the
same probed SSID list, so there is no point in using different maximum
number of SSIDs.

Clear probed SSID entries that are not used. This was already done for
sched_scan, but not for scan. Be consistent and clear the table for both
cases to avoid leaving bogus entries.

In addition, share the same function for setting the probed SSIDs for
scan and sched_scan paths. This fixes setting of wildcard SSID flag
(ANY_SSID_FLAG) and changes the scan path to use probed SSID index
consistently (i.e., start with 0 similarly to sched_scan; firmware
will handle the needed internal mapping).

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c