rtlwifi: rtl8188ee: Fix regression due to commit d1d1a96bdb44
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 19 Feb 2020 20:00:41 +0000 (14:00 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2020 09:02:00 +0000 (11:02 +0200)
commit2fe72de89cf7625b05a1a641b45b4f13e84684d6
tree328d1db538753ce8be51d99f7d79a44e5eb2ca85
parenta2d866c50a3545f8d186f66f8d162838f374f020
rtlwifi: rtl8188ee: Fix regression due to commit d1d1a96bdb44

commit c80b18cbb04b7b101af9bd14550f13d9866c646a upstream.

For some unexplained reason, commit d1d1a96bdb44 ("rtlwifi: rtl8188ee:
Remove local configuration variable") broke at least one system. As
the only net effect of the change was to remove 2 bytes from the start
of struct phy_status_rpt, this patch adds 2 bytes of padding at the
beginning of the struct.

Fixes: d1d1a96bdb44 ("rtlwifi: rtl8188ee: Remove local configuration variable")
Cc: Stable <stable@vger.kernel.org> # V5.4+
Reported-by: Ashish <ashishkumar.yadav@students.iiserpune.ac.in>
Tested-by: Ashish <ashishkumar.yadav@students.iiserpune.ac.in>
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/rtl8188ee/trx.h