ar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotes
authorGabor Juhos <juhosg@openwrt.org>
Sun, 13 Jul 2014 19:43:54 +0000 (19:43 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 13 Jul 2014 19:43:54 +0000 (19:43 +0000)
commita4ddc932a3f648762cdaa8e92086d1dfba83d2fe
tree3ba002c8a67869df3171df4368c8f5e39d9b889a
parentcd2257abac4f10b1b5595f73c370bab79e8e8a7a
ar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotes

Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5838/
[juhosg:
  - fix coding style,
  - check the first and the last character of the MAC string
    instead of using the strchr() function]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41622 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/arch/mips/ath79/nvram.c