svn commit: r194954 - stable/7/sys/dev/usb

Nick Hibma n_hibma at FreeBSD.org
Thu Jun 25 12:34:45 UTC 2009


Author: n_hibma
Date: Thu Jun 25 12:34:44 2009
New Revision: 194954
URL: http://svn.freebsd.org/changeset/base/194954

Log:
  Don't send multiple commands. Sending the ZTE switch command is
  sufficient.

Modified:
  stable/7/sys/dev/usb/u3g.c

Modified: stable/7/sys/dev/usb/u3g.c
==============================================================================
--- stable/7/sys/dev/usb/u3g.c	Thu Jun 25 12:34:05 2009	(r194953)
+++ stable/7/sys/dev/usb/u3g.c	Thu Jun 25 12:34:44 2009	(r194954)
@@ -684,8 +684,6 @@ u3gstub_do_init(void *priv)
 			device_printf(sc->sc_dev,
 				      "changing ZTE STOR modem to modem mode\n");
 		u3gstub_BBB_cmd(sc, ztestor_cmd);
-		u3gstub_BBB_cmd(sc, scsi_test_unit_ready);
-		u3gstub_BBB_cmd(sc, scsi_start_stop_unit);
 		break;
 	case U3GINIT_CMOTECH:
 		if (bootverbose)


More information about the svn-src-stable-7 mailing list