iwlwifi: reuse page for notification packets
authorZhu Yi <yi.zhu@intel.com>
Fri, 23 Oct 2009 20:42:32 +0000 (13:42 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:50:03 +0000 (16:50 -0400)
commit7300515d1095aa11731866da7c9b000f2edb4626
tree1b01fe8ba04d476169f2da66951807b67f647091
parent71c55d90f9733abdf5e4e0bc24f71e189cefeea6
iwlwifi: reuse page for notification packets

For notification packets and SKBs that fail to rx correctly, add
them back into the rx_free list so that the pages can be reused
later. This avoids allocating new rx pages unnecessarily.

Signed-off-by: Zhu Yi <yi.zhu@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/iwl3945-base.c