From: Elina Pasheva Date: Wed, 28 Apr 2010 13:28:24 +0000 (+0000) Subject: net/usb: initiate sync sequence in sierra_net.c driver X-Git-Tag: v2.6.34-rc7~20^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6f1464bf65fcaa57a4b32dae93de4e8bbdfaf7c5;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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: Elina Pasheva Signed-off-by: Rory Filer Tested-by: Elina Pasheva Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/sierra_net.c b/drivers/net/usb/sierra_net.c index a44f9e0..f1942d6 100644 --- a/drivers/net/usb/sierra_net.c +++ b/drivers/net/usb/sierra_net.c @@ -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; }