diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2024-01-15 17:56:31 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-01-18 12:35:14 +0300 |
commit | 52284952cbf38c3026c2c61e8582ec01f8ee61c7 (patch) | |
tree | afe10d62d5ff3e7416a94d7ac34668f8fe457c6e | |
parent | 0635d73d85c1264060a92cbe1c53b7f010b6dd4a (diff) | |
download | linux-52284952cbf38c3026c2c61e8582ec01f8ee61c7.tar.xz |
wifi: wilc1000: fix driver_handler when committing initial configuration
During firmware initial configuration in wilc_init_fw_config, the special
driver_handler 0 should be used instead of targeting a specific virtual
interface (either 1 or 2)
The issue does not seem to have real consequence (both virtual interfaces
seems to answer correctly to a Add Block Ack request with the Immediate
policy), but lets make everything homogeneous
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240115-wilc_1000_fixes-v1-2-54d29463a738@bootlin.com
-rw-r--r-- | drivers/net/wireless/microchip/wilc1000/netdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/microchip/wilc1000/netdev.c b/drivers/net/wireless/microchip/wilc1000/netdev.c index 91d71e0f7ef2..7ea538f2d623 100644 --- a/drivers/net/wireless/microchip/wilc1000/netdev.c +++ b/drivers/net/wireless/microchip/wilc1000/netdev.c @@ -416,7 +416,7 @@ static int wilc_init_fw_config(struct net_device *dev, struct wilc_vif *vif) b = 1; if (!wilc_wlan_cfg_set(vif, 0, WID_11N_IMMEDIATE_BA_ENABLED, &b, 1, - 1, 1)) + 1, 0)) goto fail; return 0; |