diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-10-01 21:05:19 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-05 17:37:52 (GMT) |
commit | e7480bbb926c5816e4fbfca70748096bbe0e4978 (patch) | |
tree | e3d5052d23a4fb158d2abd1c1592a12cc3db719e /lib/decompress_unlzo.c | |
parent | 691895e7e2204be9a717809fb78d6ff7c10b470a (diff) | |
download | linux-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/decompress_unlzo.c')
0 files changed, 0 insertions, 0 deletions