Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
realtek-poe: sendframe: disable command in non-debug operation
The broadcom dialect has commands for firmware update and recovery. It can also erase the device firmware. This makes exposing raw frames via the "sendframe" command potentially dangerous. To reduce the risk of causing damage, only enable the "sendframe" command when debug mode, `-d`, is enabled. Signed-off-by: Alexandru Gagniuc <[email protected]>
- Loading branch information