|
@@ -461,6 +461,12 @@ static void wlan_hdd_shutdown(void)
|
|
{
|
|
{
|
|
void *hif_ctx = cds_get_context(QDF_MODULE_ID_HIF);
|
|
void *hif_ctx = cds_get_context(QDF_MODULE_ID_HIF);
|
|
|
|
|
|
|
|
+ if (hdd_get_conparam() == QDF_GLOBAL_FTM_MODE) {
|
|
|
|
+ hdd_err("Crash recovery is not allowed in FTM mode");
|
|
|
|
+ QDF_BUG(0);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
if (cds_is_load_or_unload_in_progress()) {
|
|
if (cds_is_load_or_unload_in_progress()) {
|
|
hdd_err("Load/unload in progress, ignore SSR shutdown");
|
|
hdd_err("Load/unload in progress, ignore SSR shutdown");
|
|
return;
|
|
return;
|