Skip to content

Commit f55dfcd

Browse files
committed
drivers: wifi: nrf_wifi: Set device config pointer to NULL
Commit zephyrproject-rtos/hostap@2de30ff7822bb moved the driver ops from the config pointer to the API. As the config pointer isn't used, set it to NULL and allow future updates to actually add a configuration struct. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent d73aee9 commit f55dfcd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/wifi/nrf_wifi/src/fmac_main.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -983,11 +983,7 @@ ETH_NET_DEVICE_DT_INST_DEFINE(0,
983983
nrf_wifi_drv_main_zep, /* init_fn */
984984
NULL, /* pm_action_cb */
985985
&rpu_drv_priv_zep.rpu_ctx_zep.vif_ctx_zep[0], /* data */
986-
#ifdef CONFIG_NRF70_STA_MODE
987-
&wpa_supp_ops, /* cfg */
988-
#else /* CONFIG_NRF70_STA_MODE */
989986
NULL, /* cfg */
990-
#endif /* !CONFIG_NRF70_STA_MODE */
991987
CONFIG_WIFI_INIT_PRIORITY, /* prio */
992988
&wifi_offload_ops, /* api */
993989
CONFIG_NRF_WIFI_IFACE_MTU); /*mtu */
@@ -997,11 +993,7 @@ ETH_NET_DEVICE_DT_INST_DEFINE(1,
997993
nrf_wifi_drv_main_zep, /* init_fn */
998994
NULL, /* pm_action_cb */
999995
&rpu_drv_priv_zep.rpu_ctx_zep.vif_ctx_zep[1], /* data */
1000-
#ifdef CONFIG_NRF70_STA_MODE
1001-
&wpa_supp_ops, /* cfg */
1002-
#else /* CONFIG_NRF70_STA_MODE */
1003996
NULL, /* cfg */
1004-
#endif /* !CONFIG_NRF70_STA_MODE */
1005997
CONFIG_WIFI_INIT_PRIORITY, /* prio */
1006998
&wifi_offload_ops, /* api */
1007999
CONFIG_NRF_WIFI_IFACE_MTU); /*mtu */

0 commit comments

Comments
 (0)