iwlwifi: fix unload warning and error
authorMohamed Abbas <mabbas@linux.intel.com>
Tue, 15 Apr 2008 23:01:46 +0000 (16:01 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Apr 2008 20:00:01 +0000 (16:00 -0400)
commit59003835020ed696e941df2f8a50210bdc6e246c
tree03a2dba3b93661b48f14ce391440e1d8185aba76
parentdfe7d458408188718089f41d0e2330fed13697e2
iwlwifi: fix unload warning and error

This patch fix the error we get when unload the driver, No space for Tx.
The cause of this problem is related to receiving late SW rfkill from
rfkill subsystem during the driver teardown causing this error.

Signed-off-by: Mohamed Abbas <mabbas@linux.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-rfkill.c
drivers/net/wireless/iwlwifi/iwl4965-base.c