The latter works for me:
By the way I always set the speed in the config,
so
we should test it without it.
I'm sorry I can't give you a patch as my smsc_at2 is
different.
By the way
int at2_test_speed(PrivAT2data *privdata, long speed) { int res; if (at2_open_device1(privdata) == -1) ^^^
becomes int at2_test_speed(PrivAT2data *privdata, long speed) { int res; if (at2_open_device(privdata) == -1) ^^^ Only one "1" difference, but it made me crazy. Andrea |