qcacmn: Fix number of active command timers in psoc
In psoc open, driver try to get the number of PDEV and allocate memory for number of timers. But during psoc open number of pdev are 0, thus timers is not allocated for non scan active queues. Now if all scan active queues are full and a non scan command is activated, it tries to find empty timer, which is not found, as all timers are used by scan commands. Thus timer is not started for this command and when this command is aborted the timer destroy API return failure and thus the command is not removed from the active queue. Allocate the timer during psoc enable where pdevs are already created and driver can get the number of pdev and print error if start timer fails for a command. Change-Id: Ia5b22e2849c58992a7d3d4097becc257ac673157 CRs-Fixed: 2389157
Loading
Please register or sign in to comment