|
@@ -848,8 +848,8 @@ static void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
|
|
hw->wiphy->interface_modes |=
|
|
hw->wiphy->interface_modes |=
|
|
BIT(NL80211_IFTYPE_P2P_DEVICE);
|
|
BIT(NL80211_IFTYPE_P2P_DEVICE);
|
|
|
|
|
|
- hw->wiphy->iface_combinations = if_comb;
|
|
|
|
- hw->wiphy->n_iface_combinations = ARRAY_SIZE(if_comb);
|
|
|
|
|
|
+ hw->wiphy->iface_combinations = if_comb;
|
|
|
|
+ hw->wiphy->n_iface_combinations = ARRAY_SIZE(if_comb);
|
|
}
|
|
}
|
|
|
|
|
|
hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
|
|
hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
|