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)
commit8ab5415d6c701a59dd6fc2bc93cf476ecc03ada5
tree661b774678d7698b71b2a2526a5292dc06df9200
parentf3740572512075839e1a7ebde970081106fed3f0
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