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)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 30 Dec 2016 13:38:13 +0000 (15:38 +0200)
commit60f59ce0278557f7896d5158ae6d12a4855a72cc
treeb5ee8fe2cd402926abf4df0afcf80e4555c62979
parent570b90fa230b8021f51a67fab2245fe8df6fe37d
rtlwifi: rtl_usb: Fix missing entry in USB driver's private data

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>
drivers/net/wireless/realtek/rtlwifi/usb.c