diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-10-06 19:18:04 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-06 20:30:43 (GMT) |
commit | 3207390a8b58bfc1335750f91cf6783c48ca19ca (patch) | |
tree | cf8e7cde5d3bb4d0de5b6b451a4a47515630909a /net/mac80211/scan.c | |
parent | b206b4ef062d83c0875a085672ed50e8c8b01521 (diff) | |
download | linux-fsl-qoriq-3207390a8b58bfc1335750f91cf6783c48ca19ca.tar.xz |
cfg80211: fix BSS double-unlinking
When multiple interfaces are actively trying
to associate with the same BSS, they may both
find that the BSS isn't there and then try to
unlink it. This can cause errors since the
unlinking code can't currently deal with items
that have already been unlinked.
Normally this doesn't happen as most people
don't try to use multiple station interfaces
that associate at the same time too.
Fix this by using the list entry as a flag to
see if the item is still on a list.
Cc: stable@kernel.org
Reported-by: Ben Greear <greearb@candelatech.com>
Tested-by: Hun-Kyi Wynn <hkwynn@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/scan.c')
0 files changed, 0 insertions, 0 deletions