Attempt to fix the Openmoko Freerunner again

This commit is contained in:
Pierre Pronchery 2011-11-07 17:50:48 +00:00
parent 296789bf6c
commit faa315de48

View File

@ -2620,9 +2620,11 @@ static HayesCommandStatus _on_request_functional_enable(HayesCommand * command,
switch((status = _on_request_generic(command, status, priv))) switch((status = _on_request_generic(command, status, priv)))
{ {
case HCS_ERROR: case HCS_ERROR:
#if 0 /* XXX ignore for now (may simply be missing the PIN code) */
/* force a reset */ /* force a reset */
_hayes_request_type(modem, _hayes_request_type(modem,
HAYES_REQUEST_FUNCTIONAL_ENABLE_RESET); HAYES_REQUEST_FUNCTIONAL_ENABLE_RESET);
#endif
break; break;
case HCS_SUCCESS: case HCS_SUCCESS:
_on_code_cfun(modem, "1"); /* XXX ugly workaround */ _on_code_cfun(modem, "1"); /* XXX ugly workaround */