summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2011-03-07 12:36:43 +0000
committerMichael Büsch <mb@bu3sch.de>2011-03-07 12:36:43 +0000
commit9649777395e0c292fdf1e7b25d7615582d44cfa1 (patch)
tree9285dd1d1e622bf49f5750f8d00d6228ed81c734 /package/mac80211
parent1d3e4a2ab3f19466f7cb5662f04e311ce4464b66 (diff)
downloadmtk-20170518-9649777395e0c292fdf1e7b25d7615582d44cfa1.zip
mtk-20170518-9649777395e0c292fdf1e7b25d7615582d44cfa1.tar.gz
mtk-20170518-9649777395e0c292fdf1e7b25d7615582d44cfa1.tar.bz2
mac80211: print message on hw restart
SVN-Revision: 25926
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/720-mac80211-print-restart-warning.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/mac80211/patches/720-mac80211-print-restart-warning.patch b/package/mac80211/patches/720-mac80211-print-restart-warning.patch
new file mode 100644
index 0000000..7a28598
--- /dev/null
+++ b/package/mac80211/patches/720-mac80211-print-restart-warning.patch
@@ -0,0 +1,14 @@
+Index: compat-wireless-2011-02-25/net/mac80211/main.c
+===================================================================
+--- compat-wireless-2011-02-25.orig/net/mac80211/main.c 2011-03-07 12:58:14.996968980 +0100
++++ compat-wireless-2011-02-25/net/mac80211/main.c 2011-03-07 13:03:26.732273903 +0100
+@@ -384,6 +384,9 @@ void ieee80211_restart_hw(struct ieee802
+
+ trace_api_restart_hw(local);
+
++ wiphy_info(hw->wiphy,
++ "Hardware restart was requested\n");
++
+ /* use this reason, ieee80211_reconfig will unblock it */
+ ieee80211_stop_queues_by_reason(hw,
+ IEEE80211_QUEUE_STOP_REASON_SUSPEND);