ar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotes
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Jul 2014 19:43:54 +0000 (19:43 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 13 Jul 2014 19:43:54 +0000 (19:43 +0000)
commit4aa81121e0ed74b35e31092f505e3346fc6e85c3
tree3ba002c8a67869df3171df4368c8f5e39d9b889a
parent81620c1c2d86b7338fb20526b8859850c0575d97
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