Skip to content

Commit

Permalink
net/usb: initiate sync sequence in sierra_net.c driver
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Rory Filer <[email protected]>
Tested-by: Elina Pasheva <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Elina Pasheva authored and davem330 committed May 2, 2010
1 parent 2fdc45c commit 6f1464b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/usb/sierra_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6f1464b

Please sign in to comment.