1. 23 12月, 2010 3 次提交
    • L
      ath9k: fix aphy / wiphy idle mismatch · afe68d0a
      Luis R. Rodriguez 提交于
      ath9k supports its own set of virtual wiphys, and it uses
      the mac80211 idle notifications to know when a device needs
      to be idle or not. We recently changed ath9k to force idle
      on driver stop() and on resume but forgot to take into account
      ath9k's own virtual wiphy idle states. These are used internally
      by ath9k to check if the device's radio should be powered down
      on each idle call. Without this change its possible that the
      device could have been forced off but the virtual wiphy idle
      was left on.
      
      Cc: stable@kernel.org
      Cc: Paul Stewart <pstew@google.com>
      Cc: Amod Bodas <amod.bodas@atheros.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      afe68d0a
    • R
      ath9k: Fix warnings on card removal · d584747b
      Rajkumar Manoharan 提交于
      The recently added warning message on power change failure
      is not needed on device removal.
      
      ath: Failed to wakeup in 500us
      ------------[ cut here ]------------
      WARNING: at drivers/net/wireless/ath/ath9k/hw.c:1618
      ath9k_hw_setpower+0x61f/0x630 [ath9k_hw]()
      Hardware name: 64756D6
      Pid: 540, comm: kworker/u:3 Not tainted 2.6.37-rc6-wl #37
      Call Trace:
       [<ffffffff810501aa>] warn_slowpath_common+0x7a/0xb0
       [<ffffffffa056e280>] ? ath9k_iowrite32+0x0/0x90 [ath9k]
       [<ffffffff810501f5>] warn_slowpath_null+0x15/0x20
       [<ffffffffa05226ef>] ath9k_hw_setpower+0x61f/0x630 [ath9k_hw]
       [<ffffffffa05700e5>] ath9k_ps_wakeup+0x85/0xd0 [ath9k]
       [<ffffffffa0570685>] ath9k_configure_filter+0x25/0x80 [ath9k]
       [<ffffffffa04dde43>] ieee80211_configure_filter+0x133/0x190 [mac80211]
       [<ffffffffa04ee502>] ieee80211_do_stop+0x132/0x540 [mac80211]
       [<ffffffff813466ff>] ? _raw_spin_unlock_bh+0x1f/0x30
       [<ffffffff812b6923>] ? dev_deactivate+0x1c3/0x1e0
       [<ffffffffa04ee925>] ieee80211_stop+0x15/0x20 [mac80211]
       [<ffffffff8129d1b6>] __dev_close+0x56/0x90
      Signed-off-by: NRajkumar Manoharan <rmanoharan@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d584747b
    • S
      ath9k_htc: Fix warning on device removal · 97dcec57
      Sujith Manoharan 提交于
      The commit "ath9k_hw: warn if we cannot change the power to the chip"
      introduced a new warning to indicate chip powerup failures, but this
      is not required for devices that have been removed. Handle USB device
      removal properly by checking for unplugged status.
      
      For PCI devices, this warning will still be seen when the card is pulled
      out, not sure how to check for card removal.
      Signed-off-by: NSujith Manoharan <Sujith.Manoharan@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      97dcec57
  2. 21 12月, 2010 6 次提交
  3. 17 12月, 2010 9 次提交
  4. 16 12月, 2010 4 次提交
  5. 14 12月, 2010 18 次提交