mac80211: print message on hw restart
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 720-mac80211-print-restart-warning.patch
1 Index: compat-wireless-2011-02-25/net/mac80211/main.c
2 ===================================================================
3 --- compat-wireless-2011-02-25.orig/net/mac80211/main.c 2011-03-07 12:58:14.996968980 +0100
4 +++ compat-wireless-2011-02-25/net/mac80211/main.c 2011-03-07 13:03:26.732273903 +0100
5 @@ -384,6 +384,9 @@ void ieee80211_restart_hw(struct ieee802
6
7 trace_api_restart_hw(local);
8
9 + wiphy_info(hw->wiphy,
10 + "Hardware restart was requested\n");
11 +
12 /* use this reason, ieee80211_reconfig will unblock it */
13 ieee80211_stop_queues_by_reason(hw,
14 IEEE80211_QUEUE_STOP_REASON_SUSPEND);