]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ath9k: use appropriate debug mask
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Fri, 26 Aug 2011 05:40:01 +0000 (11:10 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Aug 2011 19:25:29 +0000 (15:25 -0400)
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 <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/recv.c

index ad5f9bd2f0b9a5fd9cd55267a7cbb74ea2ecb8ca..800e9ee7e0354dcd3032877b8b75ff91185533ba 100644 (file)
@@ -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);