mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Fix smatch errors due to MAX_PATH too small
Several of the struct definitions all for only 2 radio paths; however, the code now has 3 such paths. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
7deab87b12
commit
c17cf6327b
4 changed files with 5 additions and 7 deletions
|
@ -83,7 +83,7 @@ struct signal_stat {
|
|||
u32 total_num; /* num of valid elements */
|
||||
u32 total_val; /* sum of valid elements */
|
||||
};
|
||||
#define MAX_PATH_NUM_92CS 2
|
||||
#define MAX_PATH_NUM_92CS 3
|
||||
struct phy_info {
|
||||
u8 RxPWDBAll;
|
||||
u8 SignalQuality; /* in 0-100 index. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue