aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/microchip/wilc1000
diff options
context:
space:
mode:
authorAjay Singh <[email protected]>2022-07-20 16:03:03 +0000
committerKalle Valo <[email protected]>2022-07-27 12:58:09 +0000
commit2f6e44ee6e969ea22d330c2810d7c891e63e6a08 (patch)
tree7e22e7aae6265b0a2841637bd4de6b7810bc46c6 /drivers/net/wireless/microchip/wilc1000
parentwifi: b43: do not initialise static variable to 0 (diff)
downloadkernel-2f6e44ee6e969ea22d330c2810d7c891e63e6a08.tar.gz
kernel-2f6e44ee6e969ea22d330c2810d7c891e63e6a08.zip
wifi: wilc1000: add WID_TX_POWER WID in g_cfg_byte array
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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/wireless/microchip/wilc1000')
-rw-r--r--drivers/net/wireless/microchip/wilc1000/wlan_cfg.c1
1 files changed, 1 insertions, 0 deletions
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}
};