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)
commita46c7d055c9fd8dfc9c2465b5611a4ff2618c625
tree1eeb68cdf28fef49b6bfc245daf5d0de0a43e8e5
parenta749d8163f8ee180ec42142b784db3871a57f073
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>
SVN-Revision: 41622
target/linux/ar71xx/files/arch/mips/ath79/nvram.c