commit | abc613ef4df43e8eef9d9be1b3a01ddf64586d13 | [log] [tgz] |
---|---|---|
author | Igor Kononenko <i.kononenko.e@gmail.com> | Sun Sep 01 13:08:01 2024 +0300 |
committer | i.kononenko.e <i.kononenko.e@gmail.com> | Mon Nov 25 22:52:05 2024 +0000 |
tree | 56edcb6364070bd67ba6087e5851db00e477b931 | |
parent | a0f38eeb4994de159bbbd6e9198d949fed50ea1a [diff] |
usb-ctrl: fix optional mac-addresses The `help` usb-ctrl declares the MAC options for ecm|emm|rndis optional. But if they are skipped, the operation will fail. The change fixes the problem and the MAC settings can now be safely omitted. Tested: each of the commands below works fine: * `usb-ctrl ecm usb0 on` * `usb-ctrl ecm usb0 on .` * `usb-ctrl ecm usb0 on . 5e:e9:8e:01:fa:b4` * `usb-ctrl ecm usb0 on 5e:e9:8e:01:fa:b3 5e:e9:8e:01:fa:b3` Change-Id: I7096476656d2f830c32fbc6cb9c784b3ba6bbd2f Signed-off-by: Igor Kononenko <i.kononenko.e@gmail.com>
phosphor-misc is a collection of miscellaneous OpenBMC functions that doesn't really fit anywhere else.
If you have a new function in mind to be hosted in phosphor-misc, it is usually a good idea to mention it on the OpenBMC mailing list before writing any code. There might already be an implementation of the desired function or the community may suggest alternatives.
phosphor-misc patches are reviewed using the Gerrit instance at https://gerrit.openbmc-project.xyz.
Please submit patches to Gerrit. More information on using Gerrit can be found here. https://github.com/openbmc/phosphor-misc is a hosting mirror only and GitHub pull requests are not monitored and will not be accepted.
Patch checklist. Please ensure patches adhere to the following guidelines:
For questions or help please come join us on the mailing list or in IRC.