]> 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)
commit8140e321211b90c27fc14fdae58707b82f3876b8
tree9c911d82264fca4c22f5b47b7f9398ade55576eb
parent9e6722a85d623f827404fa393ec045b021d1fe62
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