drivers: nrf_wifi: Fix SR co-ex RF switch configuration

This was not getting enabled because label was passed instead of path
and dependency was not met.

Fix the DT function to use label.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2025-04-08 20:09:58 +05:30 committed by Benjamin Cabé
commit 5f67471532

View file

@ -192,7 +192,7 @@ config NRF70_SR_COEX
config NRF70_SR_COEX_RF_SWITCH
bool "GPIO configuration to control SR side RF switch position"
depends on $(dt_node_has_prop,nrf70, srrf-switch-gpios)
depends on $(dt_nodelabel_has_prop,nrf70,srrf-switch-gpios)
depends on NRF70_SR_COEX
help
Select this option to enable GPIO configuration to control SR side RF switch position.