We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cd933e commit 2b0876cCopy full SHA for 2b0876c
modules/nrf_wifi/bus/rpu_hw_if.c
@@ -503,21 +503,23 @@ int rpu_disable(void)
503
{
504
int ret;
505
506
- ret = rpu_pwroff();
+ #ifdef CONFIG_NRF70_SR_COEX_RF_SWITCH
507
+ ret = sr_gpio_remove();
508
if (ret) {
509
goto out;
510
}
- ret = rpu_gpio_remove();
511
+#endif
512
+
513
+ ret = rpu_pwroff();
514
515
516
-
-#ifdef CONFIG_NRF70_SR_COEX_RF_SWITCH
- ret = sr_gpio_remove();
517
+ ret = rpu_gpio_remove();
518
519
520
-#endif
521
522
523
qdev = NULL;
524
cfg = NULL;
525
0 commit comments