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

@@@ -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 |