alistair23-linux/drivers/net/wireless/ath/ath6kl
Kalle Valo f8c0305383 ath6kl: fix incorrect use of IEEE80211_NUM_BANDS
ath6kl was incorrectly assuming that IEEE80211_NUM_BANDS will always be 2
and used that also in the firmware WMI interface definitions. But after
the support for 60 GHz was added to cfg80211 IEEE80211_NUM_BANDS changed to 3
and this can cause all sort of problems, possibly even memory corruption.
I only found this during code review and didn't notice any bugs, but I'm
sure there are a few lurking somewhere.

To fix this rename unused A_NUM_BANDS to ATH6KL_NUM_BANDS, which is
always defined to be 2, and use that in WMI.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
2012-10-24 11:49:37 +03:00
..
bmi.c
bmi.h ath6kl: make ath6kl_bmi_[read|write]_hi32() endian safe 2012-03-07 20:04:00 +02:00
cfg80211.c ath6kl: add support for changing contry code 2012-10-24 11:49:37 +03:00
cfg80211.h cfg80211: constify name parameter to add_virtual_intf 2012-09-19 09:32:59 +02:00
common.h ath6kl: Configure htcap in fw based on the channel type in AP mode 2012-04-09 18:25:56 +03:00
core.c cfg80211: use wireless_dev for interface management 2012-07-12 12:08:10 +02:00
core.h ath6kl: add support for changing contry code 2012-10-24 11:49:37 +03:00
debug.c Merge branch 'for-linville' of git://github.com/kvalo/ath6kl 2012-05-16 10:57:32 -04:00
debug.h ath6kl: add full USB support 2012-03-26 16:36:46 +03:00
hif-ops.h ath6kl: Add HTC pipe implementation 2012-03-26 16:36:46 +03:00
hif.c
hif.h ath6kl: Add HTC pipe implementation 2012-03-26 16:36:46 +03:00
htc-ops.h ath6kl: add htc ops 2012-03-26 16:36:46 +03:00
htc.h ath6kl: Add HTC pipe implementation 2012-03-26 16:36:46 +03:00
htc_mbox.c ath6kl: Fix typo in htc mbox debug print msg 2012-05-29 14:21:25 +03:00
htc_pipe.c ath6kl: assign Tx packet drop threshold per endpoint on htc pipe layer 2012-04-27 09:50:00 +03:00
init.c ath6kl: Add support for AR6004 hardware version 1.3 2012-10-24 11:49:32 +03:00
Kconfig ath6kl: add support for changing contry code 2012-10-24 11:49:37 +03:00
main.c ath6kl: Make use of return value from ath6kl_diag_read() 2012-10-24 11:49:32 +03:00
Makefile ath6kl: Add HTC pipe implementation 2012-03-26 16:36:46 +03:00
sdio.c ath6kl: Add support for AR6004 hardware version 1.3 2012-10-24 11:49:32 +03:00
target.h ath6kl: Fix missing gpio pin 9 configuration 2012-05-24 10:11:06 +03:00
testmode.c ath6kl: Stop using NLA_PUT*(). 2012-04-02 04:33:44 -04:00
testmode.h
txrx.c ath6kl: Fix unstable downlink throughput 2012-06-11 16:13:41 +03:00
usb.c ath6kl: Add support for AR6004 hardware version 1.3 2012-10-24 11:49:32 +03:00
wmi.c ath6kl: fix incorrect use of IEEE80211_NUM_BANDS 2012-10-24 11:49:37 +03:00
wmi.h ath6kl: fix incorrect use of IEEE80211_NUM_BANDS 2012-10-24 11:49:37 +03:00