diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index e4e219d8c1fd..66164b000023 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/core/hdd/src/wlan_hdd_driver_ops.c @@ -679,12 +679,11 @@ static int hdd_soc_recovery_reinit(struct device *dev, return errno; errno = __hdd_soc_recovery_reinit(dev, bdev, bid, bus_type); - if (errno) - return errno; + osif_psoc_sync_trans_stop(psoc_sync); - return 0; + return errno; } static void __hdd_soc_remove(struct device *dev)