iwlwifi: Check HW ready before prepare card.
authorMohamed Abbas <mohamed.abbas@intel.com>
Fri, 19 Jun 2009 20:52:41 +0000 (13:52 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:55 +0000 (15:01 -0400)
commit3354a0f6a3ced6957dfb9f689ad075cfa8fd272f
treeaf6bf64de6f9544ec82d0bd253976efe79f46a8c
parent7d5ca3b8b2b38ab676d0adc268a3c6a82e7a7588
iwlwifi: Check HW ready before prepare card.

Hardware may be ready for us to manage it without us trying to prepare
it first. Check if this is the case.

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