Skip to content

Commit

Permalink
iwlwifi: decrement rx skb counter in scan abort handler
Browse files Browse the repository at this point in the history
This patch decrements rx skb counter in scan abort handler.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Emmanuel Grumbach authored and John W. Linville committed Aug 4, 2008
1 parent c1842d6 commit 1465256
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/iwlwifi/iwl-scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ static int iwl_send_scan_abort(struct iwl_priv *priv)
clear_bit(STATUS_SCAN_HW, &priv->status);
}

priv->alloc_rxb_skb--;
dev_kfree_skb_any(cmd.meta.u.skb);

return ret;
Expand Down

0 comments on commit 1465256

Please sign in to comment.