mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
520200d7ff
commit
0215a3ee92
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue