mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
qcacmn: Add multivdev restart wait timeout
In the current implementaion, if multivdev restart req is not sent due to error cases, then the multivdev restart timer gets restarted after every timeout and the vdev sm is stuck in same state. Add multivdev restart timeout wait counter and assert after the wait timeout expires. Change-Id: I12b10fb7d880e7fcf3dd02d1e38397aa2e3aebe7 CRs-Fixed: 2621231
This commit is contained in:
parent
637fcad8e5
commit
f4149ccaa2
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
|
|
@ -55,6 +55,7 @@ struct pdev_mlme_obj {
|
|||
unsigned long restart_send_vdev_bmap[2];
|
||||
unsigned long start_send_vdev_arr[2];
|
||||
struct pdev_restart_attr pdev_restart;
|
||||
qdf_atomic_t multivdev_restart_wait_cnt;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue