ath9k: Add a debug level for channel context
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 22 Aug 2014 15:09:24 +0000 (20:39 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Aug 2014 18:41:57 +0000 (14:41 -0400)
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/ath9k/init.c

index fd9e5305e77fd263cb55ecb46ff08e6d06ca0935..c1a4ade3277280409e250f5eb4729e40a894a5d2 100644 (file)
@@ -261,6 +261,7 @@ enum ATH_DEBUG {
        ATH_DBG_MCI             = 0x00008000,
        ATH_DBG_DFS             = 0x00010000,
        ATH_DBG_WOW             = 0x00020000,
+       ATH_DBG_CHAN_CTX        = 0x00040000,
        ATH_DBG_ANY             = 0xffffffff
 };
 
index 39419ea845cc0640ea30927e600e5c2f769cf075..76771f37aa86efe816511940e15b10bb7c0917eb 100644 (file)
@@ -778,6 +778,8 @@ static void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
                        hw->chanctx_data_size = sizeof(void *);
                        hw->extra_beacon_tailroom =
                                sizeof(struct ieee80211_p2p_noa_attr) + 9;
+
+                       ath_dbg(common, CHAN_CTX, "Use channel contexts\n");
                }
        }