]> Git Repo - linux.git/commit
mac80211: deinitialize ibss-internals after emptiness check
authorSimon Wunderlich <[email protected]>
Tue, 13 Nov 2012 17:43:03 +0000 (18:43 +0100)
committerJohannes Berg <[email protected]>
Tue, 13 Nov 2012 20:35:07 +0000 (21:35 +0100)
commitb78a4932f5fb11fadf41e69c606a33fa6787574c
tree418a3e8d760ccee586210034b1f111e6c3b43d0d
parent43c771a1963ab461a2f194e3c97fded1d5fe262f
mac80211: deinitialize ibss-internals after emptiness check

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
f3209bea110cade12e2b133da8b8499689cb0e2e
("mac80211: fix IBSS teardown race")

Cc: [email protected]
Cc: Ignacy Gawedzki <[email protected]>
Signed-off-by: Simon Wunderlich <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
net/mac80211/ibss.c
This page took 0.045293 seconds and 4 git commands to generate.