Commit 6f1464bf65fcaa57a4b32dae93de4e8bbdfaf7c5

Authored by Elina Pasheva
Committed by David S. Miller
1 parent 2fdc45c7c4

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>

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

drivers/net/usb/sierra_net.c
... ... @@ -789,6 +789,9 @@
789 789 /* prepare sync message from template */
790 790 memcpy(priv->sync_msg, sync_tmplate, sizeof(priv->sync_msg));
791 791  
  792 + /* initiate the sync sequence */
  793 + sierra_net_dosync(dev);
  794 +
792 795 return 0;
793 796 }
794 797