qcacld-3.0: Properly handle interface down in case of SSR
Presently in case there is an interface down during SSR, the request is rejected outright. This causes the driver and the userspace to go out of sync on the status of that particular interface. The root cause of this issue is that while SSR is ongoing if interface down comes, the DSC control via __dsc_vdev_can_trans rejects the interface down citing QDF_STATUS_E_INVAL. This prevents the request to be queued and processed later. To fix this remove the check for driver recovering from the DSC control. Change-Id: I9598c4606984f924d63e8c459ded0520d0824d08 CRs-Fixed: 2658597
This commit is contained in:

committed by
nshrivas

parent
e719329b58
commit
4fb6737376
@@ -284,8 +284,8 @@ static uint32_t dsc_test_psoc_trans_blocks(void)
|
||||
*/
|
||||
cds_set_recovery_in_progress(true);
|
||||
dsc_for_each_psoc_vdev(psoc, vdev) {
|
||||
action_expect(vdev, trans, QDF_STATUS_E_INVAL, errors);
|
||||
action_expect(vdev, op, QDF_STATUS_E_INVAL, errors);
|
||||
action_expect(vdev, trans, QDF_STATUS_E_AGAIN, errors);
|
||||
action_expect(vdev, op, QDF_STATUS_E_AGAIN, errors);
|
||||
}
|
||||
cds_set_recovery_in_progress(false);
|
||||
|
||||
|
Reference in New Issue
Block a user