Skip to content
Commit f3209bea authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

mac80211: fix IBSS teardown race



Ignacy reports that sometimes after leaving an IBSS
joining a new one didn't work because there still
were stations on the list. He fixed it by flushing
stations when attempting to join a new IBSS, but
this shouldn't be happening in the first case. When
I looked into it I saw a race condition in teardown
that could cause stations to be added after flush,
and thus cause this situation. Ignacy confirms that
after applying my patch he hasn't seen this happen
again.

Reported-by: default avatarIgnacy Gawedzki <i@lri.fr>
Debugged-by: default avatarIgnacy Gawedzki <i@lri.fr>
Tested-by: default avatarIgnacy Gawedzki <i@lri.fr>
Cc: stable@kernel.org
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 43e4e0b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment