diff options
| -rw-r--r-- | CORE/SERVICES/BMI/ol_fw.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CORE/SERVICES/BMI/ol_fw.c b/CORE/SERVICES/BMI/ol_fw.c index a98463642242..ec9cdf9c44c4 100644 --- a/CORE/SERVICES/BMI/ol_fw.c +++ b/CORE/SERVICES/BMI/ol_fw.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -1358,8 +1358,11 @@ void ol_ramdump_handler(struct ol_softc *scn) remaining -= 16; reg += 4; } - if ((scn->enableFwSelfRecovery || scn->enableRamdumpCollection) && (scn->fw_ram_dumping == 0)) + if ((scn->enableFwSelfRecovery || scn->enableRamdumpCollection) && + (scn->fw_ram_dumping == 0)){ + kobject_uevent(&scn->adf_dev->dev->kobj, KOBJ_OFFLINE); vos_set_logp_in_progress(VOS_MODULE_ID_VOSS, FALSE); + } } else if ((!scn->enableFwSelfRecovery)&& ((pattern & FW_RAMDUMP_PATTERN_MASK) == |
