mac80211: avoid reconfig if no interfaces are up
authorEliad Peller <eliad@wizery.com>
Sun, 14 Dec 2014 09:05:53 +0000 (11:05 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 17 Dec 2014 14:45:17 +0000 (15:45 +0100)
If there are no interfaces up, there is no reason
to continue the reconfig flow.

The current code might end up calling driver
callbacks (e.g. resume(), reconfig_complete())
while the driver is already stopped.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c

Simple merge