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

Commit 705e462f authored by Chandana Kishori Chiluveru's avatar Chandana Kishori Chiluveru
Browse files

usb: gadget: f_gsi: Set MBIM NTB default size in bind_config



Some hosts like Ubuntu does not send USB_CDC_SET_NTB_INPUT_SIZE
for setting NTB size for in endpoint. Hence update ntb_input_size
to default value in bind_config.

Change-Id: I9cb04d28c466069b5b992079199455a61a35a3b9
Signed-off-by: default avatarChandana Kishori Chiluveru <cchiluve@codeaurora.org>
parent adeaef47
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3245,6 +3245,7 @@ int gsi_bind_config(struct usb_configuration *c, enum ipa_usb_teth_prot prot_id)
	case IPA_USB_MBIM:
		gsi->function.name = "mbim";
		gsi->function.strings = mbim_gsi_strings;
		gsi->d_port.ntb_info.ntb_input_size = MBIM_NTB_DEFAULT_IN_SIZE;
		break;
	case IPA_USB_DIAG:
		gsi->function.name = "dpl";