iwlcore: Allow skb allocation from tasklet.
authorMohamed Abbas <mohamed.abbas@intel.com>
Fri, 22 May 2009 18:01:51 +0000 (11:01 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 22 May 2009 18:06:08 +0000 (14:06 -0400)
commit4752c93c30441f98f7ed723001b1a5e3e5619829
treede868a2003d2328ad3bd048e75bc16b7e327bd7f
parentef850d7cb301bda9155c096269557a4586b58071
iwlcore: Allow skb allocation from tasklet.

If RX queue becomes empty then we need to restock the queue from tasklet to prevent
ucode from starving. A caller to iwl_rx_allocate will decide if allocated buffer should
come from GFP_ATOMIC or GFP_KERNEL.

Signed-off-by: Mohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.h
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-rx.c