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.2.10~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06592e8c1b19bc007098e3d59ef6d8486a6c3c7d;p=pandora-kernel.git ath9k_hw: prevent writes to const data on AR9160 commit 9bbb8168ed3d8b946f9c1901a63a675012de88f2 upstream. 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ä Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed