summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2008-08-04 16:00:46 +0800
committerJohn W. Linville <linville@tuxdriver.com>2008-08-04 15:09:13 -0400
commit14652562364dad636ddce2cd11e71702ca21bfbd (patch)
tree01a6942050ba10cf24bc43821463bd3c0b306a04
parentc1842d6150c4efe1d01e7a8cf86c63aec6223486 (diff)
downloadblackbird-op-linux-14652562364dad636ddce2cd11e71702ca21bfbd.tar.gz
blackbird-op-linux-14652562364dad636ddce2cd11e71702ca21bfbd.zip
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>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-scan.c1
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)
clear_bit(STATUS_SCAN_HW, &priv->status);
}
+ priv->alloc_rxb_skb--;
dev_kfree_skb_any(cmd.meta.u.skb);
return ret;
OpenPOWER on IntegriCloud