summaryrefslogtreecommitdiff
path: root/lib/dec_and_lock.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-10-01 21:05:19 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2010-10-05 17:37:52 (GMT)
commite7480bbb926c5816e4fbfca70748096bbe0e4978 (patch)
treee3d5052d23a4fb158d2abd1c1592a12cc3db719e /lib/dec_and_lock.c
parent691895e7e2204be9a717809fb78d6ff7c10b470a (diff)
downloadlinux-fsl-qoriq-e7480bbb926c5816e4fbfca70748096bbe0e4978.tar.xz
mac80211: fix channel assumption for association done work
Be consistent and use the wk->chan instead of the local->hw.conf.channel for the association done work. This prevents any possible races against channel changes while we run this work. In the case that the race did happen we would be initializing the bit rates for the new AP under the assumption of a wrong channel and in the worst case, wrong band. This could lead to trying to assuming we could use CCK frames on 5 GHz, for example. This patch has a fix for kernels >= v2.6.34 Cc: stable@kernel.org Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions