Skip to content

Commit c80b18c

Browse files
lwfingerKalle Valo
authored andcommitted
rtlwifi: rtl8188ee: Fix regression due to commit d1d1a96
For some unexplained reason, commit d1d1a96 ("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: d1d1a96 ("rtlwifi: rtl8188ee: Remove local configuration variable") Cc: Stable <[email protected]> # V5.4+ Reported-by: Ashish <[email protected]> Tested-by: Ashish <[email protected]> Signed-off-by: Larry Finger <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
1 parent da86cad commit c80b18c

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/wireless/realtek/rtlwifi/rtl8188ee

1 file changed

+1
-0
lines changed

drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size)
561561
rxmcs == DESC92C_RATE11M)
562562

563563
struct phy_status_rpt {
564+
u8 padding[2];
564565
u8 ch_corr[2];
565566
u8 cck_sig_qual_ofdm_pwdb_all;
566567
u8 cck_agc_rpt_ofdm_cfosho_a;

0 commit comments

Comments
 (0)