Fixed an invalid pointer and crash

This commit is contained in:
Pierre Pronchery 2014-09-05 18:58:56 +02:00
parent bf1e85863b
commit c24d3145cf

View File

@ -2089,7 +2089,7 @@ static HayesCommandStatus _on_reset_callback(HayesCommand * command,
break;
case HCS_TIMEOUT: /* try again */
case HCS_ERROR:
_reset_settle(hayes);
_reset_settle(channel);
break;
}
return status;