From: Felix Fietkau Date: Wed, 15 Feb 2012 18:31:20 +0000 (+0100) Subject: ath9k_hw: prevent writes to const data on AR9160 X-Git-Tag: v3.3-rc7~39^2~15^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bbb8168ed3d8b946f9c1901a63a675012de88f2;p=pandora-kernel.git 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 Reported-by: Magnus Määttä Cc: stable@vger.kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed