summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2012-01-09 10:07:53 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-01-10 20:46:40 (GMT)
commit1a19f77f3642b8194ad9cf55548cc5d92e841766 (patch)
treeaed6d28a9043cb882e878676dc015d6b0f63c690 /net/wireless
parentc40701eacbaebcfe3fb6fac8ef3da653021c212c (diff)
downloadlinux-fsl-qoriq-1a19f77f3642b8194ad9cf55548cc5d92e841766.tar.xz
ath9k: Fix regression in channelwidth switch at the same channel
The commit "ath9k: Fix invalid noisefloor reading due to channel update" preserves the current channel noisefloor readings before updating channel type at the same channel index. It is also updating the curchan pointer. As survey updation is also referring curchan pointer to fetch the appropriate index, which might leads to invalid memory access. This patch partially reverts the change and stores the noise floor history buffer before updating channel type w/o updating curchan. Cc: stable@kernel.org Cc: Gary Morain <gmorain@google.com> Cc: Paul Stewart <pstew@google.com> Reported-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions