Files
linux/net/mac80211
Simon Wunderlich 34ef0d5705 mac80211: deinitialize ibss-internals after emptiness check
commit b78a4932f5 upstream.

The check whether the IBSS is active and can be removed should be
performed before deinitializing the fields used for the check/search.
Otherwise, the configured BSS will not be found and removed properly.

To make it more clear for the future, rename sdata->u.ibss to the
local pointer ifibss which is used within the checks.

This behaviour was introduced by
f3209bea11
("mac80211: fix IBSS teardown race")

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Cc: Ignacy Gawedzki <i@lri.fr>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-12-03 12:59:14 -08:00
..
2011-05-16 14:10:41 -04:00
2009-07-10 15:01:49 -04:00
2011-05-16 14:10:41 -04:00
2011-05-16 14:10:41 -04:00
2011-01-05 16:07:12 -05:00
2012-02-29 16:33:40 -08:00
2011-05-16 14:10:41 -04:00
2012-08-15 12:04:11 -07:00
2011-05-05 14:59:20 -04:00
2011-03-31 11:26:23 -03:00
2010-12-22 15:44:22 -05:00
2010-01-05 16:21:40 -05:00