brcm47xx: fix reading WGT634U CFE variables
authorRafał Miłecki <zajec5@gmail.com>
Wed, 12 Aug 2015 13:30:34 +0000 (13:30 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Wed, 12 Aug 2015 13:30:34 +0000 (13:30 +0000)
commit8262cd6372c71d7c4d8d52ce96935d1aec15d83b
tree5706d37827692f7fa70a7a83aa6ad6af3cd1c79b
parent7552e27dfbf928fe1b743d6684096c78a1cdeacf
brcm47xx: fix reading WGT634U CFE variables

We got check for nvram_len placed too early and the code never tried
reading CFE variables used on WGT634U. This is a regression introduced
in r45942 and reported in #20291.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46584

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46585 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm47xx/patches-3.18/820-wgt634u-nvram-fix.patch