[etherlab-dev] Small fix for EoE commit @ rev 2597

Graeme Foot Graeme.Foot at touchcut.com
Wed Sep 4 01:32:31 CEST 2019


Hi Florian,

I've come across a small bug in the default branch from commit @ rev 2597 (0e145bb05859) "Implemented EoE Set IP parameter request via command-line tool".

In master/fsm_slave.c, line 141

    if (fsm->eoe_request) {
        fsm->soe_request->state = EC_INT_REQUEST_FAILURE;
        wake_up_all(&fsm->slave->master->request_queue);
    }

should be

    if (fsm->eoe_request) {
        fsm->eoe_request->state = EC_INT_REQUEST_FAILURE;
        wake_up_all(&fsm->slave->master->request_queue);
    }

(i.e.: fsm->soe_request should be fsm->eoe_request)

Regards,
Graeme.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20190903/f977face/attachment-0001.htm>


More information about the Etherlab-dev mailing list