mac80211: always set in_reconfig=false on wakeup
authorEliad Peller <eliad@wizery.com>
Mon, 2 Jul 2012 12:08:25 +0000 (15:08 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 6 Jul 2012 06:33:05 +0000 (08:33 +0200)
If the interfaces were removed just before a restart
work was started, open_count will be 0, and most of
the reconfig work will be skipped, including the
resetting of local->in_reconfig to false.

Leaving local->inconfig = true will result in
dropping any incoming packet.

Fix it by always setting local->in_reconfig = false
(even if there are no active interfaces).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

No differences found