aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorSujith Manoharan <[email protected]>2014-01-30 14:17:28 +0530
committerJohannes Berg <[email protected]>2014-02-06 09:55:20 +0100
commitd4c80d9df6d1e4473b1409e4d220ca3d1612125c (patch)
treecfce7bfe004dfe2c733a272aeb22f57ed957249f /lib/cpu-notifier-error-inject.c
parent0297ea17bf7879fb5846fafd1be4c0471e72848d (diff)
mac80211: Fix IBSS disconnect
Currently, when a station leaves an IBSS network, the corresponding BSS is not dropped from cfg80211 if there are other active stations in the network. But, the small window that is present when trying to determine a station's status based on IEEE80211_IBSS_MERGE_INTERVAL introduces a race. Instead of trying to keep the BSS, always remove it when leaving an IBSS network. There is not much benefit to retain the BSS entry since it will be added with a subsequent join operation. This fixes an issue where a dangling BSS entry causes ath9k to wait for a beacon indefinitely. Cc: <[email protected]> Reported-by: Simon Wunderlich <[email protected]> Signed-off-by: Sujith Manoharan <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions