Changeset 1b20da0 in mainline for uspace/lib/nic/src/nic_impl.c
- Timestamp:
- 2018-02-28T17:52:03Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3061bc1
- Parents:
- df6ded8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/nic/src/nic_impl.c
rdf6ded8 r1b20da0 756 756 errno_t rc = nic_data->on_poll_mode_change(nic_data, mode, period); 757 757 assert(rc == EOK || rc == ENOTSUP || rc == EINVAL); 758 if (rc == ENOTSUP && (nic_data->on_poll_request != NULL) && 758 if (rc == ENOTSUP && (nic_data->on_poll_request != NULL) && 759 759 (mode == NIC_POLL_PERIODIC || mode == NIC_POLL_SOFTWARE_PERIODIC) ) { 760 760 761 761 rc = nic_data->on_poll_mode_change(nic_data, NIC_POLL_ON_DEMAND, NULL); 762 762 assert(rc == EOK || rc == ENOTSUP); 763 if (rc == EOK) 763 if (rc == EOK) 764 764 nic_sw_period_start(nic_data); 765 765 }
Note:
See TracChangeset
for help on using the changeset viewer.