diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2008-08-04 04:00:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-04 15:09:13 -0400 |
commit | 14652562364dad636ddce2cd11e71702ca21bfbd (patch) | |
tree | 01a6942050ba10cf24bc43821463bd3c0b306a04 /drivers/net | |
parent | c1842d6150c4efe1d01e7a8cf86c63aec6223486 (diff) |
iwlwifi: decrement rx skb counter in scan abort handler
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index 5a00ac23e2d0..9bb6adb28b73 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c | |||
@@ -202,6 +202,7 @@ static int iwl_send_scan_abort(struct iwl_priv *priv) | |||
202 | clear_bit(STATUS_SCAN_HW, &priv->status); | 202 | clear_bit(STATUS_SCAN_HW, &priv->status); |
203 | } | 203 | } |
204 | 204 | ||
205 | priv->alloc_rxb_skb--; | ||
205 | dev_kfree_skb_any(cmd.meta.u.skb); | 206 | dev_kfree_skb_any(cmd.meta.u.skb); |
206 | 207 | ||
207 | return ret; | 208 | return ret; |