Browse Source

qcacmn: Fix PMO deinit sequence

Fix PMO deinit sequence.

Change-Id: I2fc13e9ff52ea23c4e386942fb7edbea8166701c
CRs-Fixed: 2015427
Mukul Sharma 8 years ago
parent
commit
409f04a345
1 changed files with 2 additions and 2 deletions
  1. 2 2
      init_deinit/dispatcher/src/dispatcher_init_deinit.c

+ 2 - 2
init_deinit/dispatcher/src/dispatcher_init_deinit.c

@@ -202,6 +202,8 @@ EXPORT_SYMBOL(dispatcher_init);
 
 QDF_STATUS dispatcher_deinit(void)
 {
+	QDF_BUG(QDF_STATUS_SUCCESS == dispatcher_deinit_pmo());
+
 	QDF_BUG(QDF_STATUS_SUCCESS == scheduler_deinit());
 
 	QDF_BUG(QDF_STATUS_SUCCESS == wlan_serialization_deinit());
@@ -214,8 +216,6 @@ QDF_STATUS dispatcher_deinit(void)
 
 	QDF_BUG(QDF_STATUS_SUCCESS == wlan_mgmt_txrx_deinit());
 
-	QDF_BUG(QDF_STATUS_SUCCESS == dispatcher_deinit_pmo());
-
 	QDF_BUG(QDF_STATUS_SUCCESS == wlan_objmgr_global_obj_deinit());
 
 	return QDF_STATUS_SUCCESS;