Skip to content

Commit

Permalink
mac80211: Add log message to ieee80211_restart_hw()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Buesch authored and John W. Linville committed Mar 7, 2011
1 parent 118253c commit b196d03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions net/mac80211/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ void ieee80211_restart_hw(struct ieee80211_hw *hw)

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);
Expand Down

0 comments on commit b196d03

Please sign in to comment.