diff options
| -rw-r--r-- | core/hdd/src/wlan_hdd_driver_ops.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index 5ea6188a20ab..9591ca930787 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/core/hdd/src/wlan_hdd_driver_ops.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2015-2019 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -1157,6 +1157,12 @@ static int wlan_hdd_pld_probe(struct device *dev, return -EINVAL; } + /* + * If PLD_RECOVERY is received before probe then clear + * CDS_DRIVER_STATE_RECOVERING. + */ + cds_set_recovery_in_progress(false); + return wlan_hdd_probe(dev, bdev, id, bus_type, false); } |
