commit | 9bbb8168ed3d8b946f9c1901a63a675012de88f2 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Wed Feb 15 19:31:20 2012 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Feb 21 14:45:25 2012 -0500 |
tree | 2719d974ce305af5633ed350b1c04c0808319b8e | |
parent | 2504a6423b9ab4c36df78227055995644de19edb [diff] |
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>