summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/sierra_net.c
diff options
context:
space:
mode:
authorElina Pasheva <epasheva@sierrawireless.com>2010-04-28 15:28:24 +0200
committerDavid S. Miller <davem@davemloft.net>2010-05-02 03:07:46 +0200
commit6f1464bf65fcaa57a4b32dae93de4e8bbdfaf7c5 (patch)
tree8ae235ac689a54ca60ae13042b6c7d9fc5e8c6a4 /drivers/net/usb/sierra_net.c
parentnet/usb: remove default in Kconfig for sierra_net driver (diff)
downloadlinux-6f1464bf65fcaa57a4b32dae93de4e8bbdfaf7c5.tar.xz
linux-6f1464bf65fcaa57a4b32dae93de4e8bbdfaf7c5.zip
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 <epasheva@sierrawireless.com> Signed-off-by: Rory Filer <rfiler@sierrawireless.com> Tested-by: Elina Pasheva <epasheva@sierrawireless.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/sierra_net.c')
-rw-r--r--drivers/net/usb/sierra_net.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/usb/sierra_net.c b/drivers/net/usb/sierra_net.c
index a44f9e0ea098..f1942d69a0d5 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;
}