wifi: wilc1000: add WID_TX_POWER WID in g_cfg_byte array
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 20 Jul 2022 16:03:03 +0000 (16:03 +0000)
committerKalle Valo <kvalo@kernel.org>
Wed, 27 Jul 2022 12:58:09 +0000 (15:58 +0300)
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>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220720160302.231516-2-ajay.kathat@microchip.com
drivers/net/wireless/microchip/wilc1000/wlan_cfg.c

index dba3013..60eaf62 100644 (file)
@@ -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}
 };