USB: android: Modify common variable name no_data_bam_ports
no_data_bam_ports variable is named same in both rmnet
and qdss function. Declaring them as static global
and including both function driver in android driver
indicates to allocate a global variable for both
instance.
If QDSS and RMNET composition are activated in one
composition then RMNET bind config fails because
the no_data_bam_ports is incremented to a value 2
where it expects it be just 1 in gbam setup.
Change the name of variable in both qdss and rmnet
function drivers.
Change-Id: Ib647e6a8becccc2d6b9e462aeb8480e7222f913b
Signed-off-by:
Sujeet Kumar <ksujeet@codeaurora.org>
Loading
Please register or sign in to comment