From: Larry Finger <Larry.Finger@lwfinger.net>
To: Karsten Wiese <fzuuzf@googlemail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/3] rtl8192cu: Fix for rtlwifi's bluetooth coexist functionality
Date: Wed, 22 Oct 2014 11:30:24 -0500 [thread overview]
Message-ID: <5447DBA0.5080608@lwfinger.net> (raw)
In-Reply-To: <1413985654-25070-2-git-send-email-fzuuzf@googlemail.com>
On 10/22/2014 08:47 AM, Karsten Wiese wrote:
> Initialize function pointer with a function indicating bt coexist is not there.
> Prevents Ooops.
>
> Signed-off-by: Karsten Wiese <fzuuzf@googlemail.com>
> ---
I have been working on a better fix; however, I am traveling and unable to
finish testing it. As a result, this one should be applied.
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Larry
> drivers/net/wireless/rtlwifi/rtl8192cu/sw.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
> index 7c5fbaf..e06bafe 100644
> --- 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(struct ieee80211_hw *hw)
> }
> }
>
> +/* 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_ops = {
> .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 = {
>
next prev parent reply other threads:[~2014-10-22 16:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-22 13:47 [PATCH 0/3] Fix rtl8192cu in 3.18-rc1 Karsten Wiese
2014-10-22 13:47 ` [PATCH 1/3] rtl8192cu: Fix for rtlwifi's bluetooth coexist functionality Karsten Wiese
2014-10-22 16:30 ` Larry Finger [this message]
2014-10-22 13:47 ` [PATCH 2/3] rtl8192cu: Call ieee80211_register_hw from rtl_usb_probe Karsten Wiese
2014-10-22 16:31 ` Larry Finger
2014-10-22 13:47 ` [PATCH 3/3] rtl8192cu: Prevent Ooops under rtl92c_set_fw_rsvdpagepkt Karsten Wiese
2014-10-22 16:35 ` Larry Finger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5447DBA0.5080608@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=fzuuzf@googlemail.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).