[OpenWrt-Devel] [PATCH] ar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMAC
hannu.nyman at iki.fi
Wed Mar 25 12:46:00 EDT 2015
I tested your code with my old WNDR3700 (v1), WNDR3700v2 and WNDR3800.
All three routers got detected ok.
My v2 is "old" and its art contents stop at byte 0x28, so it uses your "\xff"
Just for reference, an old bug with discussion (from you?) about this issue:
I think that you mixed the explanation regarding the old logic: The first W
gets cut away when the ID is shorter, not when it is longer. 3800 would have
"...+128WND..." and correct ID, but new 3700v2 would have "...+64WNDR..." at
the same place and the detected ID would miss the first W.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel