From: Emmanuel Grumbach Date: Mon, 4 Aug 2008 08:00:46 +0000 (+0800) Subject: iwlwifi: decrement rx skb counter in scan abort handler X-Git-Tag: v2.6.27-rc2~2^2~4^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=14652562364dad636ddce2cd11e71702ca21bfbd;p=linux-2.6-omap-h63xx.git iwlwifi: decrement rx skb counter in scan abort handler This patch decrements rx skb counter in scan abort handler. Signed-off-by: Emmanuel Grumbach Signed-off-by: Tomas Winkler Signed-off-by: Zhu Yi Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index 5a00ac23e2d..9bb6adb28b7 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;