qcacmn: Pass the mac id while getting the ring id
There is a bug where the mac id passed to get the HAL srng id is always hardcoded to 1. This should be the mac id. Change-Id: I0e07c420f77c7158b0a778c8a5fc81af7de2e5ee CRs-Fixed: 2003050
This commit is contained in:

committed by
qcabuildsw

parent
520200d7ff
commit
0215a3ee92
@@ -994,7 +994,7 @@ void *hal_srng_setup(void *hal_soc, int ring_type, int ring_num,
|
||||
void *dev_base_addr;
|
||||
int i;
|
||||
|
||||
ring_id = hal_get_srng_ring_id(hal_soc, ring_type, ring_num, 0);
|
||||
ring_id = hal_get_srng_ring_id(hal_soc, ring_type, ring_num, mac_id);
|
||||
if (ring_id < 0)
|
||||
return NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user