Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77503165 authored by Justin Vreeland's avatar Justin Vreeland Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723bs: Macros with complex values should be enclosed in parentheses



Enclosing macros with complex values ensures expression is evaluated as
expected.

Signed-off-by: default avatarJustin Vreeland <justin@jvreeland.com>
Reviewed-by: default avatarBastien Nocera <hadess@hadess.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e803a374
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -209,7 +209,10 @@ typedef struct _ODM_RATE_ADAPTIVE {

#define AVG_THERMAL_NUM		8
#define IQK_Matrix_REG_NUM	8
#define IQK_Matrix_Settings_NUM	14+24+21 /*  Channels_2_4G_NUM + Channels_5G_20M_NUM + Channels_5G */
#define IQK_Matrix_Settings_NUM	(14 + 24 + 21) /*   Channels_2_4G_NUM
						* + Channels_5G_20M_NUM
						* + Channels_5G
						*/

#define		DM_Type_ByFW			0
#define		DM_Type_ByDriver		1