diff mbox series

[2/8] wifi: wilc1000: add WID_TX_POWER WID in g_cfg_byte array

Message ID 20220720160302.231516-2-ajay.kathat@microchip.com
State New
Headers show
Series [1/8] wifi: wilc1000: fix incorrect type assignment sparse warning | expand

Commit Message

Ajay Singh July 20, 2022, 4:03 p.m. UTC
From: Ajay Singh <ajay.kathat@microchip.com>

WID_TX_POWER WID value is fetched from the firmware so it should be
added in'g_cfg_byte' array to store the data which is received from
firmware.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
---
 drivers/net/wireless/microchip/wilc1000/wlan_cfg.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Kalle Valo July 27, 2022, 12:58 p.m. UTC | #1
<Ajay.Kathat@microchip.com> wrote:

> From: Ajay Singh <ajay.kathat@microchip.com>
> 
> WID_TX_POWER WID value is fetched from the firmware so it should be
> added in'g_cfg_byte' array to store the data which is received from
> firmware.
> 
> Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>

7 patches applied to wireless-next.git, thanks.

2f6e44ee6e96 wifi: wilc1000: add WID_TX_POWER WID in g_cfg_byte array
f589b5d941c7 wifi: wilc1000: set correct value of 'close' variable in failure case
33d4a577c7b1 wifi: wilc1000: set station_info flag only when signal value is valid
12fb1ae537a4 wifi: wilc1000: get correct length of string WID from received config packet
ad3e683ae4dc wifi: wilc1000: cancel the connect operation during interface down
39d0f1b0bf91 wifi: wilc1000: add 'isinit' flag for SDIO bus similar to SPI
4c2742146de0 wifi: wilc1000: use existing iftype variable to store the interface type
diff mbox series

Patch

diff --git a/drivers/net/wireless/microchip/wilc1000/wlan_cfg.c b/drivers/net/wireless/microchip/wilc1000/wlan_cfg.c
index dba301378b7f..60eaf62fd164 100644
--- a/drivers/net/wireless/microchip/wilc1000/wlan_cfg.c
+++ b/drivers/net/wireless/microchip/wilc1000/wlan_cfg.c
@@ -22,6 +22,7 @@  static const struct wilc_cfg_byte g_cfg_byte[] = {
 	{WID_STATUS, 0},
 	{WID_RSSI, 0},
 	{WID_LINKSPEED, 0},
+	{WID_TX_POWER, 0},
 	{WID_WOWLAN_TRIGGER, 0},
 	{WID_NIL, 0}
 };