ramips: revert faulty 4.4 config change from 9c242270907
[oweals/openwrt.git] / target / linux / ipq806x / patches-4.4 / 996-ATAG_DTB_COMPAT_CMDLINE_MANGLE.patch
index 8d5cbf9102a7052680232251d1e36445fef1eb91..be15ec4772de919bc7d897a1b37726d537585182 100644 (file)
@@ -64,9 +64,9 @@ Signed-off-by: Adrian Panella <ianchi74@outlook.com>
 +      ptr = str - 1;
 +
 +      do {
-+              ptr++;
 +              //first find an 'r' at the begining or after a space
 +              do {
++                      ptr++;
 +                      ptr = strchr(ptr, 'r');
 +                      if(!ptr) return dest;
 +