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