No longer report being offline upon startup or reset

This commit is contained in:
Pierre Pronchery 2011-10-29 14:58:58 +00:00
parent 3b39d8b75c
commit 671f1a0cba

View File

@ -2093,9 +2093,6 @@ static HayesCommandStatus _on_reset_callback(HayesCommand * command,
_hayes_request(modem, &request);
request.type = HAYES_REQUEST_FUNCTIONAL;
_hayes_request(modem, &request);
/* report being offline */
event->status.status = MODEM_STATUS_OFFLINE;
modem->helper->event(modem->helper->modem, event);
return HCS_SUCCESS;
case HCS_TIMEOUT:
/* try again */