Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77c4764f authored by Harout Hedeshian's avatar Harout Hedeshian
Browse files

msm_rmnet_bam: Do not grab non-RMNET BAM channels



Driver was previously grabbing all BAM channels instead of only
the RmNet channels. Only RmNet Channels will be registered.

Change-Id: Iba48c1a69dcabd6c26b488ec8c89dcd18d9a157f
Signed-off-by: default avatarHarout Hedeshian <harouth@codeaurora.org>
parent ba6ee8cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -860,7 +860,7 @@ static int __init rmnet_init(void)
	rmnet_clear_timeout_us();

	n = 0;
	while (n < BAM_DMUX_NUM_CHANNELS) {
	while (n <= BAM_DMUX_DATA_REV_RMNET_8) {
		if ((n > BAM_DMUX_DATA_RMNET_7) &&
		    (n < BAM_DMUX_DATA_REV_RMNET_0)) {
			n++;