Skip to content

Commit 48989e4

Browse files
VivekUppundahenrikbrixandersen
authored andcommitted
drivers: nrf_wifi: Fix return value for getting current reg domain
It is observed that the regulatory domain API returns a failure even when it has successfully completed its task. This change addresses a minor fix to return the proper value to the user when attempting to set the regulatory domain. Signed-off-by: Vivekananda Uppunda <vivekananda.uppunda@nordicsemi.no>
1 parent 1dfe3cb commit 48989e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/wifi/nrf_wifi/src/fmac_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ int nrf_wifi_reg_domain(const struct device *dev, struct wifi_reg_domain *reg_do
357357
goto out;
358358
}
359359

360+
ret = 0;
360361
goto out;
361362
}
362363
#endif

0 commit comments

Comments
 (0)