mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 17:01:44 +04:00
04433b4e75
The function init_mac() can produce errors for the RTL931x devices. When this happens it throws a message but continues. That can leave the hardware in a wrong state. Cleanup the error handling. Remove all messages from the function and simply return an error value. In the probe() consumer evaluate this error and abort probing if needed. As there were no reported issues in the past it is ok to drop the detailed messages and aggregate them in a single one. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> Link: https://github.com/openwrt/openwrt/pull/23420 Signed-off-by: Robert Marko <robimarko@gmail.com>