From: Mohammed Shafi Shajakhan Date: Fri, 26 Aug 2011 05:40:01 +0000 (+0530) Subject: ath9k: use appropriate debug mask X-Git-Tag: v3.2-rc1~129^2~287^2^2~81 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=9976f62e7c4e77248b84a35ab0e87e6bc4682ca0;p=~emulex%2Finfiniband.git ath9k: use appropriate debug mask in the Rx path of the driver it would be better to use ATH_DBG_ANY rather than ATH_DBG_XMIT for printing debug messages Signed-off-by: Mohammed Shafi Shajakhan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index ad5f9bd2f0b..800e9ee7e03 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -937,7 +937,7 @@ static int ath9k_process_rate(struct ath_common *common, * No valid hardware bitrate found -- we should not get here * because hardware has already validated this frame as OK. */ - ath_dbg(common, ATH_DBG_XMIT, + ath_dbg(common, ATH_DBG_ANY, "unsupported hw bitrate detected 0x%02x using 1 Mbit\n", rx_stats->rs_rate);