iwlwifi: fix ucode assertion for RX queue overrun
authorMohamed Abbas <mabbas@linux.intel.com>
Thu, 29 Nov 2007 03:10:14 +0000 (11:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:05:36 +0000 (15:05 -0800)
commit5c0eef960bdb87a53ba390aab7b069b2bc8d7f6d
tree7c219792536fc1bfcbdf35ae2741a0621f3ccdea
parent7878a5a4fcc5002e805c054730c4c5639c9d071d
iwlwifi: fix ucode assertion for RX queue overrun

This patch allows the driver to restock the RX queue early if the RX
queue is almost empty. This will help on avoiding any ucode assert
for the RX overrun problem.

Signed-off-by: Mohamed Abbas <mabbas@linux.intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/iwlwifi/iwl4965-base.c