qcacld-3.0: Add support for SSR within SSR

Add below changes to support SSR within SSR,
1.Add new driver state, CDS_DRIVER_STATE_BAD, which will be set
  on re-init failure and reset on re-init success and if this
  state is set, don't allow any north-bound calls.
2.Don't de-register wiphy/netdev on re-init failure.
3.BUG_ON if re-init or probe fails successively for two times.
4.During driver unload, don't wait for SSR to be completed.

Change-Id: Id05a3e4b592664c9b56c7dd83b965b973f1d5ca5
CRs-Fixed: 2037628
このコミットが含まれているのは:
Hanumanth Reddy Pothula
2017-07-03 14:06:11 +05:30
committed by snandini
コミット 2a8a740a4d
15個のファイルの変更98行の追加113行の削除

ファイルの表示

@@ -623,7 +623,7 @@ void ol_target_failure(void *instance, QDF_STATUS status)
return;
}
if (cds_is_driver_recovering()) {
if (cds_is_driver_recovering() || cds_is_driver_in_bad_state()) {
BMI_ERR("%s: Recovery in progress, ignore!\n", __func__);
return;
}