ath9k: fix a crash in the PA predistortion apply function
authorFelix Fietkau <nbd@openwrt.org>
Fri, 30 Jul 2010 19:02:11 +0000 (21:02 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Aug 2010 19:27:36 +0000 (15:27 -0400)
commitddfef79257648e165ac49e6088d459819a02a882
tree790266af15b6d03e419f5defda7a6b0b4b8e2967
parent9369746050e838c57e357f0caa552386ad65a82d
ath9k: fix a crash in the PA predistortion apply function

When updating the PAPRD table in hardware, PAPRD itself needs to be
disabled first, otherwise the hardware can throw a data bus error,
which upsets at least some platforms.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c