Skip to content
Snippets Groups Projects
Commit e1f3cf7e authored by Thibaut VARENE's avatar Thibaut VARENE Committed by Piotr Dymacz
Browse files

ar71xx: mikrotik: prepend "RouterBOARD" to machine name for NOR devices


When the device name doesn't already contain "RouterBOARD", this patch adds
this string to the machine name.

Most NOR devices already have "RouterBOARD" in their hardware-stored device name,
but not all of them.

This patch also makes the code more robust against buffer overflows.

Signed-off-by: default avatarThibaut VARENE <hacks@slashdirt.org>
parent e3dc036c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment