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

Commit 6f1464bf authored by Elina Pasheva's avatar Elina Pasheva Committed by David S. Miller
Browse files

net/usb: initiate sync sequence in sierra_net.c driver



The following patch adds the initiation of the sync sequence to
"sierra_net_bind()". If this step is omitted, the modem will never sync up
with the host and it will not be possible to establish a data connection.

Signed-off-by: default avatarElina Pasheva <epasheva@sierrawireless.com>
Signed-off-by: default avatarRory Filer <rfiler@sierrawireless.com>
Tested-by: default avatarElina Pasheva <epasheva@sierrawireless.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2fdc45c7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -789,6 +789,9 @@ static int sierra_net_bind(struct usbnet *dev, struct usb_interface *intf)
	/* prepare sync message from template */
	memcpy(priv->sync_msg, sync_tmplate, sizeof(priv->sync_msg));

	/* initiate the sync sequence */
	sierra_net_dosync(dev);

	return 0;
}