summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-scan.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2008-08-04 10:00:46 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-08-04 21:09:13 +0200
commit14652562364dad636ddce2cd11e71702ca21bfbd (patch)
tree01a6942050ba10cf24bc43821463bd3c0b306a04 /drivers/net/wireless/iwlwifi/iwl-scan.c
parentiwlwifi: fix unhandled interrupt when HW rfkill is on (diff)
downloadlinux-14652562364dad636ddce2cd11e71702ca21bfbd.tar.xz
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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-scan.c')
-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;