Skip to content

Commit

Permalink
staging: rtl8723bs: fix macro value for 2.4Ghz only device
Browse files Browse the repository at this point in the history
[ Upstream commit 6d490a2 ]

fix IQK_Matrix_Settings_NUM macro value to 14 which is
the max channel number value allowed in a 2.4Ghz device.

Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/0b4a876929949248aa18cb919da3583c65e4ee4e.1624367072.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
fabioaiuto authored and gregkh committed Jul 20, 2021
1 parent 1f57709 commit 45f1de1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/staging/rtl8723bs/hal/odm.h
Expand Up @@ -197,10 +197,7 @@ 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 /* Channels_2_4G_NUM */

#define DM_Type_ByFW 0
#define DM_Type_ByDriver 1
Expand Down

0 comments on commit 45f1de1

Please sign in to comment.