* Patch "rtlwifi: rtl_usb: Fix missing entry in USB driver's private data" has been added to the 4.9-stable tree
@ 2017-01-13 10:57 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-01-13 10:57 UTC (permalink / raw)
To: Larry.Finger, gregkh, kvalo; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
rtlwifi-rtl_usb-fix-missing-entry-in-usb-driver-s-private-data.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From 60f59ce0278557f7896d5158ae6d12a4855a72cc Mon Sep 17 00:00:00 2001
From: Larry Finger <Larry.Finger@lwfinger.net>
Date: Wed, 21 Dec 2016 11:18:55 -0600
Subject: rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
From: Larry Finger <Larry.Finger@lwfinger.net>
commit 60f59ce0278557f7896d5158ae6d12a4855a72cc upstream.
These drivers need to be able to reference "struct ieee80211_hw" from
the driver's private data, and vice versa. The USB driver failed to
store the address of ieee80211_hw in the private data. Although this
bug has been present for a long time, it was not exposed until
commit ba9f93f82aba ("rtlwifi: Fix enter/exit power_save").
Fixes: ba9f93f82aba ("rtlwifi: Fix enter/exit power_save")
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/net/wireless/realtek/rtlwifi/usb.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/net/wireless/realtek/rtlwifi/usb.c
+++ b/drivers/net/wireless/realtek/rtlwifi/usb.c
@@ -1067,6 +1067,7 @@ int rtl_usb_probe(struct usb_interface *
return -ENOMEM;
}
rtlpriv = hw->priv;
+ rtlpriv->hw = hw;
rtlpriv->usb_data = kzalloc(RTL_USB_MAX_RX_COUNT * sizeof(u32),
GFP_KERNEL);
if (!rtlpriv->usb_data)
Patches currently in stable-queue which might be from Larry.Finger@lwfinger.net are
queue-4.9/rtlwifi-fix-enter-exit-power_save.patch
queue-4.9/powerpc-fix-build-warning-on-32-bit-ppc.patch
queue-4.9/rtlwifi-rtl_usb-fix-missing-entry-in-usb-driver-s-private-data.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-13 10:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-13 10:57 Patch "rtlwifi: rtl_usb: Fix missing entry in USB driver's private data" has been added to the 4.9-stable tree gregkh
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).