|
@@ -1,6 +1,6 @@
|
|
|
/*
|
|
|
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
|
|
|
- * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
+ * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. 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
|
|
@@ -4864,12 +4864,11 @@ int hdd_stop_no_trans(struct net_device *dev)
|
|
|
/* DeInit the adapter. This ensures datapath cleanup as well */
|
|
|
hdd_deinit_adapter(hdd_ctx, adapter, true);
|
|
|
|
|
|
- if (!hdd_is_any_interface_open(hdd_ctx))
|
|
|
- hdd_psoc_idle_timer_start(hdd_ctx);
|
|
|
-
|
|
|
reset_iface_opened:
|
|
|
/* Make sure the interface is marked as closed */
|
|
|
clear_bit(DEVICE_IFACE_OPENED, &adapter->event_flags);
|
|
|
+ if (!hdd_is_any_interface_open(hdd_ctx))
|
|
|
+ hdd_psoc_idle_timer_start(hdd_ctx);
|
|
|
hdd_exit();
|
|
|
|
|
|
return 0;
|