ath6kl: Don't advertise HT capability for incapable firmware
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Wed, 25 Apr 2012 07:08:18 +0000 (12:38 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 26 Apr 2012 12:04:37 +0000 (15:04 +0300)
commit7fd1ce7eafb8a68d75363e7500433b0ee4392843
treec975256899917ce34a10eee229120adb166c10e7
parent6251d8012dbc49869f2453942089c4df82de0c80
ath6kl: Don't advertise HT capability for incapable firmware

With firmwares which do not support rsn capability override
(ATH6KL_FW_CAPABILITY_RSN_CAP_OVERRIDE) from host would
cause 4-way handshake failure when HT cap is advertised.
To fix this, do not advertise HT cap with cfg80211 for
those fw.

kvalo: fix a checkpatch warning

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c