mac80211: handle failed restart/resume better
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>
Showing
- include/net/cfg80211.h 14 additions, 0 deletionsinclude/net/cfg80211.h
- net/mac80211/driver-ops.h 71 additions, 37 deletionsnet/mac80211/driver-ops.h
- net/mac80211/ieee80211_i.h 1 addition, 0 deletionsnet/mac80211/ieee80211_i.h
- net/mac80211/scan.c 10 additions, 5 deletionsnet/mac80211/scan.c
- net/mac80211/util.c 43 additions, 3 deletionsnet/mac80211/util.c
- net/wireless/core.c 14 additions, 6 deletionsnet/wireless/core.c
Loading
Please register or sign in to comment