From: John W. Linville Date: Mon, 3 Jun 2013 19:55:37 +0000 (-0400) Subject: Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac802... X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=133eb82f0904049be96a8128b513e19e538fde5d;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'for-john' of git://git./linux/kernel/git/jberg/mac80211-next --- 133eb82f0904049be96a8128b513e19e538fde5d diff --cc drivers/net/wireless/iwlwifi/mvm/mac80211.c index 12337aac2947,dd158ec571fb..dc50020d746d --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/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 |