1. 25 9月, 2012 1 次提交
  2. 12 9月, 2012 2 次提交
  3. 06 9月, 2012 1 次提交
    • M
      ath9k: Fix a crash in 2 WIRE btcoex chipsets · 5d9b6f26
      Mohammed Shafi Shajakhan 提交于
      Generic timers for BTCOEX functionality is applicable
      only for 3 WIRE BTCOEX (and MCI) chipsets.
      Hence btcoex->no_stomp_timer is allocated only 3 WIRE
      btcoex chipsets and in all the other cases its NULL.
      Make sure we stop the generic timer only if
      'btcoex->hw_timer_enabled' is true(only if its up and
      running)
      
      Fixes the following crash
      
      	[68757.020454] BUG: unable to handle kernel NULL pointer dereference at 0000000c
      	[68757.020916] IP: [<f9b055c3>] ath9k_hw_gen_timer_stop+0x13/0x80 [ath9k_hw]
      	[68757.021251] *pde = 00000000
      	[68757.024384] EIP: 0060:[<f9b055c3>] EFLAGS: 00010082 CPU: 0
      	[68757.024384] EIP is at ath9k_hw_gen_timer_stop+0x13/0x80 [ath9k_hw]
      	[68757.024384] EAX: d32d0000 EBX: d32d0000 ECX: 00000000 EDX: 00000000
      	[68757.024384] ESI: e67c24c0 EDI: 00000296 EBP: e137be2c ESP: e137be20
      	[68757.024384]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
      	[68757.024384] CR0: 8005003b CR2: 0000000c CR3: 00b99000 CR4: 000407d0
      	[68757.024384] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
      	[68757.024384] DR6: ffff0ff0 DR7: 00000400
      	[68757.024384] Process kworker/u:2 (pid: 8917, ti=e137a000 task=ea7a6860 task.ti=e137a000)
      	[68757.024384] Stack:
      	[68757.024384]  c06c4676 d32d0000 e67c24c0 e137be38 f81c9590 e67c1ca0 e137be40 f81c95d9
      	[68757.024384]  e137be64 f81cd1c5 00000246 00000002 d32d0000 e67c05e0 e67c1ca0 e67c05e0
      	[68757.024384]  00000000 e137beac f81cdfa0 e137be84 00000246 00000246 e67c1ca0 e67c1ca0
      	[68757.024384] Call Trace:
      	[68757.024384]  [<c06c4676>] ? _raw_spin_lock_irqsave+0x86/0xa0
      	[68757.024384]  [<f81c9590>] ath9k_gen_timer_stop+0x10/0x40 [ath9k]
      	[68757.024384]  [<f81c95d9>] ath9k_btcoex_stop_gen_timer+0x19/0x20 [ath9k]
      	[68757.024384]  [<f81cd1c5>] ath9k_ps_restore+0x85/0x110 [ath9k]
      	[68757.024384]  [<f81cdfa0>] ath9k_config+0x220/0x520 [ath9k]
      	[68757.024384]  [<f81cd47d>] ? ath9k_flush+0x15d/0x1b0 [ath9k]
      	[68757.024384]  [<f85c7ca5>] ieee80211_hw_config+0x135/0x2c0 [mac80211]
      	[68757.024384]  [<f860e3c8>] ieee80211_dynamic_ps_enable_work+0x198/0x5f0 [mac80211]
      
      Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Cc: Bala Shanmugam <bkamatch@qca.qualcomm.com>
      Signed-off-by: NMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5d9b6f26
  4. 10 7月, 2012 4 次提交
  5. 29 6月, 2012 1 次提交
  6. 14 6月, 2012 2 次提交
  7. 07 6月, 2012 2 次提交
  8. 24 4月, 2012 1 次提交
  9. 17 4月, 2012 1 次提交
  10. 13 3月, 2012 1 次提交
    • S
      ath9k: Fix BTCOEX shutdown · bff2ec2b
      Sujith Manoharan 提交于
      Flush MCI profiles only if MCI is being actually used.
      This fixes a panic on driver unload when non-MCI devices
      are being used and btcoex_enable is set.
      
      BUG: unable to handle kernel NULL pointer dereference at           (null)
      IP: [<ffffffffa06296d2>] ath_mci_flush_profile+0x12/0x100 [ath9k]
      Call Trace:
      [<ffffffffa061befe>] ath9k_stop_btcoex+0x5e/0x80 [ath9k]
      [<ffffffffa061ed57>] ath9k_stop+0xb7/0x230 [ath9k]
      [<ffffffffa0533f30>] ieee80211_stop_device+0x50/0x180 [mac80211]
      [<ffffffffa051f0cf>] ieee80211_do_stop+0x2af/0x6a0 [mac80211]
      [<ffffffffa051f4da>] ieee80211_stop+0x1a/0x20 [mac80211]
      [<ffffffff81365d96>] __dev_close_many+0x86/0xe0
      [<ffffffff81365ee0>] dev_close_many+0xa0/0x110
      [<ffffffff81366038>] rollback_registered_many+0xe8/0x260
      [<ffffffff813661cb>] unregister_netdevice_many+0x1b/0x80
      [<ffffffffa051e950>] ieee80211_remove_interfaces+0xd0/0x110 [mac80211]
      [<ffffffffa050c133>] ieee80211_unregister_hw+0x53/0x120 [mac80211]
      [<ffffffffa061d5a4>] ath9k_deinit_device+0x44/0x70 [ath9k]
      [<ffffffffa062c1d4>] ath_pci_remove+0x54/0xa0 [ath9k]
      [<ffffffff81267c46>] pci_device_remove+0x46/0x110
      [<ffffffff8131021c>] __device_release_driver+0x7c/0xe0
      [<ffffffff81310960>] driver_detach+0xd0/0xe0
      [<ffffffff81310078>] bus_remove_driver+0x88/0xe0
      [<ffffffff81311122>] driver_unregister+0x62/0xa0
      [<ffffffff81268004>] pci_unregister_driver+0x44/0xc0
      [<ffffffffa062c8b5>] ath_pci_exit+0x15/0x20 [ath9k]
      [<ffffffffa063205d>] ath9k_exit+0x15/0x31 [ath9k]
      [<ffffffff810b92cc>] sys_delete_module+0x18c/0x270
      [<ffffffff814373dd>] ? retint_swapgs+0x13/0x1b
      [<ffffffff8124828e>] ? trace_hardirqs_on_thunk+0x3a/0x3f
      [<ffffffff81437de9>] system_call_fastpath+0x16/0x1b
      Signed-off-by: NSujith Manoharan <c_manoha@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      bff2ec2b
  11. 28 2月, 2012 8 次提交
  12. 20 12月, 2011 2 次提交
  13. 18 11月, 2011 1 次提交
  14. 09 11月, 2011 1 次提交
  15. 15 10月, 2011 1 次提交
  16. 12 10月, 2011 1 次提交
  17. 01 10月, 2011 1 次提交
  18. 17 9月, 2011 1 次提交
  19. 10 8月, 2011 1 次提交
  20. 20 5月, 2011 1 次提交
  21. 29 4月, 2011 2 次提交
  22. 26 4月, 2011 2 次提交
  23. 31 3月, 2011 1 次提交
  24. 01 3月, 2011 1 次提交