Merge ath-next from ath.git
[linux-2.6-block.git] / drivers / net / wireless / ath / ath9k / init.c
index d986687870afe8e29be372b683d9a5fa109daecb..77ace8d72d5400429ac14242ab51a23568d567fb 100644 (file)
@@ -847,8 +847,8 @@ static void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw)
                        hw->wiphy->interface_modes |=
                                        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;