Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368450
b: refs/heads/master
c: 80d8565
h: refs/heads/master
v: v3
  • Loading branch information
Emmanuel Grumbach authored and Johannes Berg committed Mar 6, 2013
1 parent 3376e8b commit 0f04ef4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5d158efa5577f3851d36f2bdf42ea7af66668b9c
refs/heads/master: 80d8565557747854d6ff7fc0a756cc71a9fa2372
6 changes: 3 additions & 3 deletions trunk/drivers/net/wireless/iwlwifi/mvm/sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,9 @@ int iwl_mvm_rm_sta(struct iwl_mvm *mvm,

if (vif->type == NL80211_IFTYPE_STATION &&
mvmvif->ap_sta_id == mvm_sta->sta_id) {
/* flush its queues here since we are freeing mvm_sta */
ret = iwl_mvm_flush_tx_path(mvm, mvm_sta->tfd_queue_msk, true);

/*
* Put a non-NULL since the fw station isn't removed.
* It will be removed after the MAC will be set as
Expand All @@ -348,9 +351,6 @@ int iwl_mvm_rm_sta(struct iwl_mvm *mvm,
rcu_assign_pointer(mvm->fw_id_to_mac_id[mvm_sta->sta_id],
ERR_PTR(-EINVAL));

/* flush its queues here since we are freeing mvm_sta */
ret = iwl_mvm_flush_tx_path(mvm, mvm_sta->tfd_queue_msk, true);

/* if we are associated - we can't remove the AP STA now */
if (vif->bss_conf.assoc)
return ret;
Expand Down

0 comments on commit 0f04ef4

Please sign in to comment.