From: Mohammed Shafi Shajakhan Date: Fri, 26 Aug 2011 05:40:01 +0000 (+0530) Subject: ath9k: use appropriate debug mask X-Git-Tag: MMI-PSA29.97-13-9~18194^2~254^2~202 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9976f62e7c4e77248b84a35ab0e87e6bc4682ca0;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 ad5f9bd2f0b9..800e9ee7e035 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);