Correct a logic problem in control channel retrains that caused HylaFAX
to consider them unsuccessful even when they succeeded. Thanks to John
Sucaet for the original report and fix, and Lee for the final patch.
Changelog
+* improve handling of V.34 control channel retrain (02 Apr 2006)
* Add isdn4linux modem config prototype (02 Apr 2006)
* Add IAXmodem config prototype (02 Apr 2006)
* Update config.guess & config.sub (27 Mar 2006)
protoTrace("Control channel retrain");
// wait for the control channel to reappear
// should we reset the timeout setting?
- waitForDCEChannel(true);
+ gotresponse = waitForDCEChannel(true);
gotRTNC = true;
- return (false);
+ return ((awaitctrl ? gotresponse : false));
break;
case 0x6B:
protoTrace("Primary channel selected");