linux/drivers/net/wireless/iwlwifi
Abbas, Mohamed e9414b6b3f iwl3945: fix deep sleep when removing the driver.
A warning message "MAC is in deep sleep" sometimes happen when user removes
the driver.  This warning is related to card not being ready. In __iwl3945_down
function some of the going down steps are in wrong order, to fix this this patch
do the following:
	1- make sure we are calling iwl3945_apm_reset and iwl3945_apm_stop
	   in the right order.

	2- make sure we set CSR_GP_CNTRL_REG_FLAG_INIT_DONE in apm_reset before
	   poll on CSR_GP_CNTRL_REG_FLAG_MAC_CLOCK_READY.

	3- set correct polling counter.

This fixes bug
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1834

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>
2009-01-29 16:01:06 -05:00
..
iwl3945-base.c iwl3945: fix deep sleep when removing the driver. 2009-01-29 16:01:06 -05:00
iwl-100.c iwlwifi: add recognition of Intel WiFi Link 100 Series 2009-01-29 16:01:03 -05:00
iwl-3945-fh.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-3945-hw.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-3945-led.c iwl3945: Use iwl-hcmd host command routines 2009-01-29 16:00:57 -05:00
iwl-3945-led.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-3945-rs.c iwlwifi: allow user to set max rate 2009-01-29 16:01:04 -05:00
iwl-3945.c iwl3945: fix deep sleep when removing the driver. 2009-01-29 16:01:06 -05:00
iwl-3945.h iwl3945: Use iwl-rfkill 2009-01-29 16:01:05 -05:00
iwl-4965-hw.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-4965.c iwlwifi: remove unused or twice defined members in iwl_priv 2009-01-29 16:01:00 -05:00
iwl-5000-hw.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-5000.c iwlwifi: remove static from 5000 structures 2009-01-29 16:01:02 -05:00
iwl-6000-hw.h iwlwifi: add recognition of Intel WiFi Link 6000 and 6050 Series 2009-01-29 16:01:02 -05:00
iwl-6000.c iwlwifi: add recognition of Intel WiFi Link 6000 and 6050 Series 2009-01-29 16:01:02 -05:00
iwl-agn-hcmd-check.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-agn-rs.c iwlagn: fix agn rate scaling 2009-01-29 16:01:05 -05:00
iwl-agn-rs.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-agn.c iwl3945: Use iwl-rfkill 2009-01-29 16:01:05 -05:00
iwl-calib.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-calib.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-commands.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-core.c iwl3945: Use iwl-rfkill 2009-01-29 16:01:05 -05:00
iwl-core.h iwl3945: Use iwl-rfkill 2009-01-29 16:01:05 -05:00
iwl-csr.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-debug.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-debugfs.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-dev.h iwlwifi: add recognition of Intel WiFi Link 100 Series 2009-01-29 16:01:03 -05:00
iwl-eeprom.c iwlwifi: remove unused or twice defined members in iwl_priv 2009-01-29 16:01:00 -05:00
iwl-eeprom.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-fh.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-hcmd.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-helpers.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-io.h iwl3945: fix deep sleep when removing the driver. 2009-01-29 16:01:06 -05:00
iwl-led.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-led.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-power.c iwlwifi: eliminate power_data_39. 2009-01-29 16:01:00 -05:00
iwl-power.h iwlwifi: eliminate power_data_39. 2009-01-29 16:01:00 -05:00
iwl-prph.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-rfkill.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-rfkill.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-rx.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-scan.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-spectrum.c iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-spectrum.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-sta.c IWL: fix WARN typo 2009-01-29 16:00:17 -05:00
iwl-sta.h iwlwifi: update copyright year to 2009 2009-01-29 16:00:15 -05:00
iwl-tx.c iwl3945: Use iwl-hcmd host command routines 2009-01-29 16:00:57 -05:00
Kconfig iwl3945: Use iwl-rfkill 2009-01-29 16:01:05 -05:00
Makefile iwlwifi: add recognition of Intel WiFi Link 100 Series 2009-01-29 16:01:03 -05:00