mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 13:06:59 +02:00
staging: rtl8192e: adjust size of RxMIMOSignalStrength
The array RxMIMOSignalStrength in struct rtllib_rx_stats is always accessed with indices in the range i = 0; i < 2. We can reduce the size from 4 to 2. Signed-off-by: Michael Straube <straube.linux@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20240831100809.29173-6-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ad796f708d
commit
357c468552
|
|
@ -480,7 +480,7 @@ struct rtllib_rx_stats {
|
|||
bool bFirstMPDU;
|
||||
bool contain_htc;
|
||||
u32 RxPWDBAll;
|
||||
u8 RxMIMOSignalStrength[4];
|
||||
u8 RxMIMOSignalStrength[2];
|
||||
s8 RxMIMOSignalQuality[2];
|
||||
bool bPacketMatchBSSID;
|
||||
bool bIsCCK;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user