qcacmn: Gets vdev by id in spectral component
It starts spectral scan without vdev object, and uses the first vdev as current vdev. which cause vdev mismatch in some platforms. So pass vdev object or id when finding current vdev. Change-Id: Iab55afbe2c98906021a008918f186d3d2dce5871 CRS-Fixed: 2716460
This commit is contained in:
@@ -421,11 +421,13 @@ struct spectral_scan_dma_debug_request {
|
||||
* be atomic.
|
||||
* @ss_mode: Spectral scan mode
|
||||
* @req_id: Request identifier
|
||||
* @vdev_id: VDEV id
|
||||
* @dma_debug_req: Spectral DMA debug request
|
||||
*/
|
||||
struct spectral_cp_request {
|
||||
enum spectral_scan_mode ss_mode;
|
||||
uint8_t req_id;
|
||||
uint8_t vdev_id;
|
||||
union {
|
||||
struct spectral_scan_config_request config_req;
|
||||
struct spectral_scan_action_request action_req;
|
||||
|
Reference in New Issue
Block a user