]> git.hungrycats.org Git - linux/commit
rtlwifi: rtl_usb: Fix missing entry in USB driver's private data
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 21 Dec 2016 17:18:55 +0000 (11:18 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jan 2017 12:42:58 +0000 (13:42 +0100)
commit6fea974494af50921a5201ebb30c65dde30a1a2b
tree32ef9985554d9c9bb3df6a1f25d7318722030c0d
parent7dae85b5c355a55c3ef44ef4dad0a77125802c7f
rtlwifi: rtl_usb: Fix missing entry in USB driver's private data

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