Browse Source

Revert "qca-wifi: Remove duplicate invoke of restart clear API"

This reverts commit 93fd212313864b5a2e693cefadc0b48763d522af.

CRs-Fixed: 2604433
Change-Id: I0ddf7971c1438650f28a0e0bf1d1f3ffb4aa9bc1
Priyadarshnee S 5 years ago
parent
commit
0beec74ee3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      umac/mlme/vdev_mgr/core/src/vdev_mlme_sm_actions.c

+ 3 - 0
umac/mlme/vdev_mgr/core/src/vdev_mlme_sm_actions.c

@@ -524,6 +524,9 @@ static QDF_STATUS mlme_vdev_stop_send_cb(struct vdev_mlme_obj *vdev_mlme,
 		return QDF_STATUS_E_FAILURE;
 	}
 
+	/* if restart is pending on this VDEV, clear the bitmap */
+	mlme_stop_pending_restart(pdev, vdev);
+
 	error = mlme_vdev_ops_stop_fw_send(vdev);
 
 	return error;