Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279187
b: refs/heads/master
c: 855c2ee
h: refs/heads/master
i:
  279185: 987edc2
  279183: 146c0ed
v: v3
  • Loading branch information
Emmanuel Grumbach authored and Wey-Yi Guy committed Dec 16, 2011
1 parent dc4829f commit 789def2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 04cf6824a5e92e6f86c0abcb38ac65ee744c3d34
refs/heads/master: 855c2ee85c6a96ecfb01188ba45ccae55b183092
5 changes: 5 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn-sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ int iwl_remove_station(struct iwl_priv *priv, const u8 sta_id,
const u8 *addr)
{
unsigned long flags;
u8 tid;

if (!iwl_is_ready(priv->shrd)) {
IWL_DEBUG_INFO(priv,
Expand Down Expand Up @@ -501,6 +502,10 @@ int iwl_remove_station(struct iwl_priv *priv, const u8 sta_id,
priv->stations[sta_id].lq = NULL;
}

for (tid = 0; tid < IWL_MAX_TID_COUNT; tid++)
memset(&priv->tid_data[sta_id][tid], 0,
sizeof(priv->tid_data[sta_id][tid]));

priv->stations[sta_id].used &= ~IWL_STA_DRIVER_ACTIVE;

priv->num_stations--;
Expand Down

0 comments on commit 789def2

Please sign in to comment.