qcacmn: Add ini param to control the crash inject

qcacld-2.0 to qcacmn propagation

Currently the crash can be injected by iwpriv command and FW
gets crashed.
Changes are done to add the gEnableCrashInject ini parameter

1) This ini param is disabled by default.
2) If this param is disabled the crash inject is ignored.

Change-Id: I7e908be1e37090a9d343dc04411fe387f776a937
CRs-Fixed: 1087774
This commit is contained in:
Ravi Kumar Bokka
2016-11-09 18:07:56 +05:30
committed by snandini
parent 7a7a6e85bb
commit 0090e226f1
3 changed files with 15 additions and 0 deletions

View File

@@ -1438,6 +1438,7 @@ struct wmi_unified {
#endif
qdf_atomic_t is_wow_bus_suspended;
bool tag_crash_inject;
bool tgt_force_assert_enable;
enum wmi_target_type target_type;
struct wmi_rx_ops rx_ops;
struct wmi_ops *ops;