ath9k: Advertize beacon_int_infra_match
authorMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Mon, 8 Oct 2012 16:00:54 +0000 (21:30 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Oct 2012 19:18:52 +0000 (15:18 -0400)
Currently ath9k need to have beacon interval matched
between STA mode and beaconing mode. Advertize this
through interface combinations.

Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c

index fad3ccd..546bae9 100644 (file)
@@ -687,6 +687,7 @@ static const struct ieee80211_iface_combination if_comb = {
        .n_limits = ARRAY_SIZE(if_limits),
        .max_interfaces = 2048,
        .num_different_channels = 1,
+       .beacon_int_infra_match = true,
 };
 
 void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)