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
|
@ -283,8 +283,6 @@ struct odm_rate_adapt {
|
|||
|
||||
/* Declare for common info */
|
||||
|
||||
#define MAX_PATH_NUM_92CS 2
|
||||
|
||||
struct odm_phy_status_info {
|
||||
u8 RxPWDBAll;
|
||||
u8 SignalQuality; /* in 0-100 index. */
|
||||
|
@ -950,7 +948,7 @@ struct odm_dm_struct {
|
|||
struct timer_list FastAntTrainingTimer;
|
||||
}; /* DM_Dynamic_Mechanism_Structure */
|
||||
|
||||
#define ODM_RF_PATH_MAX 2
|
||||
#define ODM_RF_PATH_MAX 3
|
||||
|
||||
enum ODM_RF_RADIO_PATH {
|
||||
ODM_RF_PATH_A = 0, /* Radio Path A */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue