Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac802...
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Jun 2013 19:55:37 +0000 (15:55 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Jun 2013 19:55:37 +0000 (15:55 -0400)
1  2 
drivers/net/wireless/iwlwifi/mvm/mac80211.c

index 12337aac2947ac87bdf5435440bd0709da50d4a0,dd158ec571fbb183374858e20ffd80325206db9d..dc50020d746d79097454f5626ad5b4bfa87b4b27
@@@ -161,10 -158,13 +170,13 @@@ int iwl_mvm_mac_setup_register(struct i
  
        hw->sta_data_size = sizeof(struct iwl_mvm_sta);
        hw->vif_data_size = sizeof(struct iwl_mvm_vif);
 -      hw->chanctx_data_size = sizeof(struct iwl_mvm_phy_ctxt);
 +      hw->chanctx_data_size = sizeof(u16);
  
        hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
-               BIT(NL80211_IFTYPE_AP);
+               BIT(NL80211_IFTYPE_P2P_CLIENT) |
+               BIT(NL80211_IFTYPE_AP) |
+               BIT(NL80211_IFTYPE_P2P_GO) |
+               BIT(NL80211_IFTYPE_P2P_DEVICE);
  
        hw->wiphy->flags |= WIPHY_FLAG_CUSTOM_REGULATORY |
                            WIPHY_FLAG_DISABLE_BEACON_HINTS |