USB: f_rmnet: Don't call usb_bam_get_connection_idx() for BAM transport

RMNET function driver uses different transports like BAM, BAM2BAM,
BAM2BAMIPA, HSIC, HSUART for data path based on platform type.
Only in case of BAM2BAM and BAM2BAMIPA transports, it is required
to get source and destination bam connection index by calling
usb_bam_get_connection_idx() API. Otherwise it fails to get bam
connection index and causes error message appear. Hence don't call
usb_bam_get_connection_idx() API in case of BAM transport.

CRs-Fixed: 466597
Change-Id: I16329422e7ff9eaf7d3119b7cdd24d4c8ea913e1
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
1 file changed