ar71xx: simplify patch 613 and add missing error handling
authorJohn Crispin <john@openwrt.org>
Tue, 26 Apr 2016 11:43:42 +0000 (11:43 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 26 Apr 2016 11:43:42 +0000 (11:43 +0000)
commit69a368cf7e1906d874e190031787b4dcb4493add
tree52146d04e77056480297ec0d6f5d333fc9d407eb
parent301d48b8f03c7460efac50007154ab2426db188a
ar71xx: simplify patch 613 and add missing error handling

Dynamic allocation of label can be simplified.
Also add error handling to deal with failed memory allocation.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 49244
target/linux/ar71xx/patches-4.1/613-MIPS-ath79-add-ath79_wmac_setup_ext_lna_gpio-helper.patch
target/linux/ar71xx/patches-4.4/613-MIPS-ath79-add-ath79_wmac_setup_ext_lna_gpio-helper.patch