diff options
author | Michael Buesch <mb@bu3sch.de> | 2011-03-07 07:09:12 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-07 13:51:04 -0500 |
commit | b196d031f2bb29c253050d554130e41c7e3cbfb0 (patch) | |
tree | 57477bc639953f2498c66c0a9a1edc1d599513e2 | |
parent | 118253ca46262342b87909927fec6214fa4a06a4 (diff) |
mac80211: Add log message to ieee80211_restart_hw()
Add a log message to ieee80211_restart_hw() to highlight
that special codepath in the logs. This helps debugging
bugs in the rarely tested restart code.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 2543e48bd813..562d2984c482 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -380,6 +380,9 @@ void ieee80211_restart_hw(struct ieee80211_hw *hw) | |||
380 | 380 | ||
381 | trace_api_restart_hw(local); | 381 | trace_api_restart_hw(local); |
382 | 382 | ||
383 | wiphy_info(hw->wiphy, | ||
384 | "Hardware restart was requested\n"); | ||
385 | |||
383 | /* use this reason, ieee80211_reconfig will unblock it */ | 386 | /* use this reason, ieee80211_reconfig will unblock it */ |
384 | ieee80211_stop_queues_by_reason(hw, | 387 | ieee80211_stop_queues_by_reason(hw, |
385 | IEEE80211_QUEUE_STOP_REASON_SUSPEND); | 388 | IEEE80211_QUEUE_STOP_REASON_SUSPEND); |