mac80211: handle failed restart/resume better
authorJohannes Berg <johannes.berg@intel.com>
Wed, 30 Apr 2014 12:19:04 +0000 (14:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 May 2014 10:21:34 +0000 (12:21 +0200)
When the driver fails during HW restart or resume, the whole
stack goes into a very confused state with interfaces being
up while the hardware is down etc.

Address this by shutting down everything; we'll run into a
lot of warnings in the process but that's better than having
the whole stack get messed up.

Reviewed-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/driver-ops.h
net/mac80211/ieee80211_i.h
net/mac80211/scan.c
net/mac80211/util.c
net/wireless/core.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge