Guest User

Untitled

a guest
Jan 26th, 2020
80
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- a/target/linux/ar71xx/files/arch/mips/ath79/routerboot.c
  2. +++ b/target/linux/ar71xx/files/arch/mips/ath79/routerboot.c
  3. @@ -110,6 +110,7 @@ routerboot_find_tag(u8 *buf, unsigned int buflen, u16 tag_id,
  4. break;
  5.  
  6. id = get_u16(buf);
  7. + pr_err("debug, buf and id: %p: %X\n", buf, id);
  8. buf += 2;
  9. buflen -= 2;
  10.  
  11. @@ -130,7 +131,7 @@ routerboot_find_tag(u8 *buf, unsigned int buflen, u16 tag_id,
  12.  
  13. if (align)
  14. len = (len + 3) / 4;
  15. -
  16. + pr_err("debug, len: %u\n", len);
  17. buf += len;
  18. buflen -= len;
  19. }
  20. @@ -207,6 +208,7 @@ __rb_get_wlan_data(u16 id)
  21. u16 erd_len;
  22.  
  23. if (id == 0)
  24. + pr_err("debug: %p: %X\n", buf, id);
  25. goto err_free;
  26.  
  27. err = routerboot_find_tag(tag, tag_len, id,
RAW Paste Data