From: Lee Howard Date: Mon, 12 Apr 2004 22:41:43 +0000 (+0000) Subject: Bug 526: drop 4800 bps per step-down with V.34 renegotiations X-Git-Tag: HYLAFAX-4_2_0BETA2~25 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=2de0278124bdc32442f3c60be35909bcdf3c82de;p=thirdparty%2FHylaFAX.git Bug 526: drop 4800 bps per step-down with V.34 renegotiations --- diff --git a/faxd/Class1.c++ b/faxd/Class1.c++ index d1edeb09..8df83c74 100644 --- a/faxd/Class1.c++ +++ b/faxd/Class1.c++ @@ -469,8 +469,8 @@ Class1Modem::renegotiatePrimary(bool constrain) buf[size++] = DLE; if (constrain) { // don't neotiate a faster rate - if (primaryV34Rate == 1) buf[size++] = 0x70; // 2400 bit/s - else buf[size++] = primaryV34Rate + 0x6E; // drop 2400 bit/s + if (primaryV34Rate == 1 || primaryV34Rate == 2) buf[size++] = 0x70; // 2400 bit/s + else buf[size++] = primaryV34Rate + 0x6D; // drop 4800 bit/s buf[size++] = DLE; } buf[size++] = 0x6C; //