]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Use correct max-scan-SSIDs limit
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 9 May 2012 19:14:51 +0000 (22:14 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 May 2012 08:51:08 +0000 (11:51 +0300)
commitae1580ed26d2d6f2a6ad8e605a2b4c34bdf3f4e6
tree661b774678d7698b71b2a2526a5292dc06df9200
parenteec9104f63f4243c09034bace64e55385cdf4f45
ath6kl: Use correct max-scan-SSIDs limit

The currently used firmware images support 16 SSIDs in the scan
request (indexes 0..15), so update the host driver to use the same
limit to allow some more SSIDs to be scanned per request. In addition,
change the max-index to max-SSIDs to make it easier to understand the
implementation and fix couple of off-by-one checks that could limit
the maximum number of entries too strictly.

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
drivers/net/wireless/ath/ath6kl/wmi.c
drivers/net/wireless/ath/ath6kl/wmi.h