diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-02-15 18:31:20 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-21 19:45:25 (GMT) |
commit | 9bbb8168ed3d8b946f9c1901a63a675012de88f2 (patch) | |
tree | 2719d974ce305af5633ed350b1c04c0808319b8e /drivers/net/wireless/ath/ath9k/hw.h | |
parent | 2504a6423b9ab4c36df78227055995644de19edb (diff) | |
download | linux-fsl-qoriq-9bbb8168ed3d8b946f9c1901a63a675012de88f2.tar.xz |
ath9k_hw: prevent writes to const data on AR9160
Duplicate the data for iniAddac early on, to avoid having to do redundant
memcpy calls later. While we're at it, make AR5416 < v2.2 use the same
codepath. Fixes a reported crash on x86.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Reported-by: Magnus Määttä <magnus.maatta@logica.com>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 6a29004..c8261d4 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -940,7 +940,6 @@ struct ath_hw { u32 *analogBank6Data; u32 *analogBank6TPCData; u32 *analogBank7Data; - u32 *addac5416_21; u32 *bank6Temp; u8 txpower_limit; |