]> 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)
commit3765c96714a7260ddac5b60709f05bc884e4c96f
tree661b774678d7698b71b2a2526a5292dc06df9200
parent34bb32a0cf146004f343fa000bfc049b78804662
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