[OpenWrt-Devel] [PATCH] ar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMAC
Hannu Nyman
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"
branch.
Just for reference, an old bug with discussion (from you?) about this issue:
https://dev.openwrt.org/ticket/18992
Ps.
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
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list