Sujith Manoharan
bff2ec2b91
ath9k: Fix BTCOEX shutdown
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: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-03-12 14:19:33 -04:00
..
2011-10-31 19:31:07 -04:00
2011-12-19 14:35:31 -05:00
2011-09-20 14:43:49 -04:00
2011-09-13 15:42:31 -04:00
2012-02-21 14:45:25 -05:00
2012-02-27 14:05:41 -05:00
2011-12-19 14:35:31 -05:00
2012-02-29 14:53:21 -05:00
2012-02-27 14:05:41 -05:00
2011-12-19 14:35:31 -05:00
2011-07-11 15:02:15 -04:00
2011-05-19 13:54:05 -04:00
2011-10-14 14:48:21 -04:00
2012-02-27 14:06:36 -05:00
2012-02-27 14:06:33 -05:00
2011-11-11 12:32:48 -05:00
2012-02-27 14:06:33 -05:00
2012-03-07 13:51:38 -05:00
2012-02-27 14:05:44 -05:00
2012-02-27 14:06:40 -05:00
2012-02-27 14:06:37 -05:00
2011-12-19 14:35:31 -05:00
2012-02-27 14:05:44 -05:00
2012-02-27 14:06:33 -05:00
2012-01-04 14:30:40 -05:00
2011-10-14 14:48:22 -04:00
2011-06-22 16:09:49 -04:00
2011-06-22 16:09:49 -04:00
2011-04-25 14:50:09 -04:00
2012-02-27 14:05:43 -05:00
2011-11-02 15:23:12 -04:00
2011-08-26 10:47:58 -04:00
2012-03-07 13:51:38 -05:00
2012-03-05 15:20:48 -05:00
2012-02-27 14:06:38 -05:00
2012-02-27 14:06:37 -05:00
2012-01-10 15:46:40 -05:00
2012-01-10 15:46:39 -05:00
2011-10-11 16:41:26 -04:00
2011-08-24 13:59:45 -04:00
2012-03-07 13:51:38 -05:00
2012-03-07 13:51:38 -05:00
2011-12-15 14:46:37 -05:00
2011-12-21 15:06:09 -05:00
2011-12-21 15:06:11 -05:00
2011-12-15 14:46:37 -05:00
2011-12-19 14:35:31 -05:00
2011-12-19 14:35:31 -05:00
2012-01-03 15:16:34 -05:00
2011-12-19 14:35:31 -05:00
2011-11-11 12:32:48 -05:00
2012-03-12 14:19:33 -04:00
2012-02-06 14:55:42 -05:00
2012-01-30 15:48:42 -05:00
2011-12-19 14:35:31 -05:00
2011-07-20 15:04:39 -04:00
2012-02-27 14:06:38 -05:00
2012-02-27 14:06:38 -05:00
2012-02-27 14:06:37 -05:00
2011-12-19 14:35:31 -05:00
2011-05-24 16:47:54 -04:00
2011-05-19 13:54:05 -04:00
2012-02-27 14:06:38 -05:00
2011-12-15 14:46:37 -05:00
2012-03-07 13:51:37 -05:00
2012-02-29 14:53:21 -05:00
2012-03-07 13:51:38 -05:00
2012-03-07 13:51:38 -05:00
2012-03-05 15:20:48 -05:00
2011-10-11 16:41:29 -04:00
2012-03-05 15:20:47 -05:00
2012-02-27 14:06:37 -05:00
2012-02-27 14:06:40 -05:00
2012-02-27 14:06:36 -05:00
2011-12-19 14:46:55 -05:00
2011-05-19 13:54:05 -04:00
2012-03-05 15:23:14 -05:00
2012-03-05 15:23:14 -05:00
2012-03-07 13:51:39 -05:00
2012-02-27 14:06:33 -05:00
2011-12-19 14:35:31 -05:00
2011-05-19 13:54:05 -04:00
2012-03-05 15:20:48 -05:00