--- gateway/gw/smsc/smsc_at2.c  Thu Mar 27 08:56:42 2003
+++ gateway/gw/smsc/smsc_at2.c.alex     Tue Apr  1 12:09:23 2003
@@ -1964,7 +1964,7 @@

     int res;

-    if (at2_open_device1(privdata) == -1)
+    if (at2_open_device(privdata) == -1)
        return -1;

     at2_set_speed(privdata, speed);
@@ -1990,7 +1990,7 @@

     debug("bb.smsc.at2", 0, "AT2[%s]: detecting modem type", octstr_get_cstr(privdata->name));

-    if (at2_open_device1(privdata) == -1)
+    if (at2_open_device(privdata) == -1)
         return -1;

     at2_set_speed(privdata, privdata->speed);
