iwlwifi: mvm: Correctly update MAC context on add/del station
authorIlan Peer <ilan.peer@intel.com>
Thu, 10 Sep 2015 09:54:38 +0000 (12:54 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 5 Oct 2015 09:29:09 +0000 (12:29 +0300)
commitf82c83397beac5c829bfcb3ea6bb4bfdbac79209
treefa00934eb21f26989603787e08a2546c9e1f35ae
parent69191afef3c889992de643af7c318c9a8a1750c0
iwlwifi: mvm: Correctly update MAC context on add/del station

Commit "iwlwifi: mvm: don't ask beacons when AP vif and no
assoc sta" directly called iwl_mvm_mac_ctxt_cmd_ap() to update the
MAC context when adding/removing a station. However, this ignores
the case that the vif is actually a P2P GO.

Fix this by calling iwl_mvm_mac_ctxt_changed() that handles P2P GO
case as well.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/sta.c