aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/344-rtl8192cu-Fix-for-rtlwifi-s-bluetooth-coexist-functi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/344-rtl8192cu-Fix-for-rtlwifi-s-bluetooth-coexist-functi.patch')
-rw-r--r--package/kernel/mac80211/patches/344-rtl8192cu-Fix-for-rtlwifi-s-bluetooth-coexist-functi.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/344-rtl8192cu-Fix-for-rtlwifi-s-bluetooth-coexist-functi.patch b/package/kernel/mac80211/patches/344-rtl8192cu-Fix-for-rtlwifi-s-bluetooth-coexist-functi.patch
new file mode 100644
index 0000000000..666caea7fe
--- /dev/null
+++ b/package/kernel/mac80211/patches/344-rtl8192cu-Fix-for-rtlwifi-s-bluetooth-coexist-functi.patch
@@ -0,0 +1,34 @@
+From: Karsten Wiese <fzuuzf@googlemail.com>
+Date: Wed, 22 Oct 2014 15:47:32 +0200
+Subject: [PATCH] rtl8192cu: Fix for rtlwifi's bluetooth coexist
+ functionality
+
+Initialize function pointer with a function indicating bt coexist is not there.
+Prevents Ooops.
+
+Signed-off-by: Karsten Wiese <fzuuzf@googlemail.com>
+---
+
+--- a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
++++ b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
+@@ -101,6 +101,12 @@ static void rtl92cu_deinit_sw_vars(struc
+ }
+ }
+
++/* get bt coexist status */
++static bool rtl92cu_get_btc_status(void)
++{
++ return false;
++}
++
+ static struct rtl_hal_ops rtl8192cu_hal_ops = {
+ .init_sw_vars = rtl92cu_init_sw_vars,
+ .deinit_sw_vars = rtl92cu_deinit_sw_vars,
+@@ -148,6 +154,7 @@ static struct rtl_hal_ops rtl8192cu_hal_
+ .phy_set_bw_mode_callback = rtl92cu_phy_set_bw_mode_callback,
+ .dm_dynamic_txpower = rtl92cu_dm_dynamic_txpower,
+ .fill_h2c_cmd = rtl92c_fill_h2c_cmd,
++ .get_btc_status = rtl92cu_get_btc_status,
+ };
+
+ static struct rtl_mod_params rtl92cu_mod_params = {