iwl3945: remove unnecessary call to apm_ops.reset()
authorBen Cahill <ben.m.cahill@intel.com>
Fri, 9 Oct 2009 20:20:21 +0000 (13:20 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:47:57 +0000 (16:47 -0400)
commit278d84051d1944080d4cfdba205af5f5ce4f4064
treeb13f1a867223f7b7af65fc7762b1e6231faf6e48
parent4d2ccdb94847248a4075414169108d8f929c153c
iwl3945: remove unnecessary call to apm_ops.reset()

Now that we're unconditionally using apm_ops.stop() to reset and power-down
the device in __iwl3945_down(), the apm_ops.reset() is redundant.  Removing
this call will also allow us to remove iwl3945_apm_reset().

Remove unneeded iwl_clear_bit(CSR_GP_CNTRL_REG_FLAG_MAC_ACCESS_REQ) because
this bit will be set again very soon in iwl3945_hw_txq_ctx_stop() and other
following calls.

Signed-off-by: Ben Cahill <ben.m.cahill@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c