OSDN Git Service

ath9k: enable ext channel pulse detection
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Tue, 16 Sep 2014 14:43:42 +0000 (16:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Sep 2014 20:18:42 +0000 (16:18 -0400)
Enable pulse detection on extension channel if 40MHz channel width has been set

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index 949d5d6..3aed729 100644 (file)
@@ -1966,6 +1966,7 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
 
        if (ah->hw->conf.radar_enabled) {
                /* set HW specific DFS configuration */
+               ah->radar_conf.ext_channel = IS_CHAN_HT40(chan);
                ath9k_hw_set_radar_params(ah);
        }