]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4401aa1aa1b4df55ee190f942e96e3f32e8d0557
tree9c911d82264fca4c22f5b47b7f9398ade55576eb
parent0c294cce765180fcf273151d1e9bf4862b9e5409
mac80211: avoid reconfig if no interfaces are up

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