From 0215a3ee9296011a3ec0f5338d3da0d8e4d14f8d Mon Sep 17 00:00:00 2001 From: Dhanashri Atre Date: Mon, 6 Feb 2017 18:27:53 -0800 Subject: [PATCH] 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 --- hal/wifi3.0/hal_srng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/wifi3.0/hal_srng.c b/hal/wifi3.0/hal_srng.c index bac2d5fef184..497f3fb92817 100644 --- a/hal/wifi3.0/hal_srng.c +++ b/hal/wifi3.0/hal_srng.c @@ -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;