ath9k: fix checks for first subframe delimiter padding
authorFelix Fietkau <nbd@openwrt.org>
Mon, 29 Aug 2011 16:57:54 +0000 (18:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:42:31 +0000 (15:42 -0400)
commit3459731a39894e5377283b3ccf2fede54e19aae1
treeca1816f4eea7dfb4fa12d6207a08c6e072cd259c
parent2a36a0ec1550ffb4d608134e2504a6a67d1d1740
ath9k: fix checks for first subframe delimiter padding

The commit "ath9k_hw: Fix exceed transmission burst-time of 5GHz" added
a padding of 60 delimiters on the first subframe to work around an issue
on AR9380, but it lacked the checks to prevent it from being applied to
pre-AR9380, enterprise AR9380 or AR9580+

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/reg.h
drivers/net/wireless/ath/ath9k/xmit.c