summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-10-26 15:27:23 -0700
committerJohn W. Linville <linville@tuxdriver.com>2010-11-15 13:24:44 -0500
commit9d94674ab754be0e275120a183670ead435f9c0d (patch)
treefea71c005c3af1e76c47405afeda262f49df9463 /drivers/net/wireless/ath/ath9k/init.c
parent5d4c428254f73bae272be9d296724b1ee09d76ec (diff)
downloadlinux-3.10-9d94674ab754be0e275120a183670ead435f9c0d.tar.gz
linux-3.10-9d94674ab754be0e275120a183670ead435f9c0d.tar.bz2
linux-3.10-9d94674ab754be0e275120a183670ead435f9c0d.zip
ath9k: simplify hw reset locking
The new PCU lock is better placed so we can just contend against that when trying to reset hardware. This is part of a series of patches which fix stopping TX DMA completley when requested on the driver. For more details about this issue refer to this thread: http://marc.info/?l=linux-wireless&m=128629803703756&w=2 Tested-by: Ben Greear <greearb@candelatech.com> Cc: Kyungwan Nam <kyungwan.nam@atheros.com> Cc: stable@kernel.org Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/init.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 1b72720b36e..adff0da01f4 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -580,7 +580,6 @@ static int ath9k_init_softc(u16 devid, struct ath_softc *sc, u16 subsysid,
spin_lock_init(&common->cc_lock);
spin_lock_init(&sc->wiphy_lock);
- spin_lock_init(&sc->sc_resetlock);
spin_lock_init(&sc->sc_serial_rw);
spin_lock_init(&sc->sc_pm_lock);
mutex_init(&sc->mutex);