diff options
author | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-07 12:36:43 +0000 |
---|---|---|
committer | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-07 12:36:43 +0000 |
commit | b70c6b1168fca5d832d4b5bbc1a539a26f12d938 (patch) | |
tree | cbbaae77a4814117d3765ed8cc45ecec47bcda60 | |
parent | 40bef39c64901f76f744cdc438e24235c6dbd085 (diff) |
mac80211: print message on hw restart
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25926 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/mac80211/patches/720-mac80211-print-restart-warning.patch | 14 |
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 000000000..7a2859853 --- /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); |