aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2022-12-10 06:34:54 -0500
committerHauke Mehrtens <hauke@hauke-m.de>2023-01-06 15:34:07 +0100
commit1e3a8f454e46e6c235b972571761a0c6b23a3bfd (patch)
tree548938e4b8f750b09ddcec482f46a92534b123cd /include
parent766de7013fcef2a9d759e056bb40c1cb58cfd65f (diff)
downloadupstream-1e3a8f454e46e6c235b972571761a0c6b23a3bfd.tar.gz
upstream-1e3a8f454e46e6c235b972571761a0c6b23a3bfd.tar.bz2
upstream-1e3a8f454e46e6c235b972571761a0c6b23a3bfd.zip
base-files: rework mtd_get_mac_text()
It's necessary to be able to specify the length for MAC addresses that are stored in flash, for example, in a case where it is stored without any delimiter. Let both offset and length have default values. Add a sanity check related to partition size. Also, clean up syntax and unnecessary lines. Signed-off-by: Michael Pratt <mcpratt@pm.me>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions