diff options
-rw-r--r-- | drivers/usb/gadget/rndis.c | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/drivers/usb/gadget/rndis.c b/drivers/usb/gadget/rndis.c index b35babed6fcb..e4192b887de9 100644 --- a/drivers/usb/gadget/rndis.c +++ b/drivers/usb/gadget/rndis.c | |||
@@ -863,26 +863,8 @@ int rndis_msg_parser(u8 configNr, u8 *buf) | |||
863 | */ | 863 | */ |
864 | pr_warning("%s: unknown RNDIS message 0x%08X len %d\n", | 864 | pr_warning("%s: unknown RNDIS message 0x%08X len %d\n", |
865 | __func__, MsgType, MsgLength); | 865 | __func__, MsgType, MsgLength); |
866 | { | 866 | print_hex_dump_bytes(__func__, DUMP_PREFIX_OFFSET, |
867 | unsigned i; | 867 | buf, MsgLength); |
868 | for (i = 0; i < MsgLength; i += 16) { | ||
869 | pr_debug("%03d: " | ||
870 | " %02x %02x %02x %02x" | ||
871 | " %02x %02x %02x %02x" | ||
872 | " %02x %02x %02x %02x" | ||
873 | " %02x %02x %02x %02x" | ||
874 | "\n", | ||
875 | i, | ||
876 | buf[i], buf [i+1], | ||
877 | buf[i+2], buf[i+3], | ||
878 | buf[i+4], buf [i+5], | ||
879 | buf[i+6], buf[i+7], | ||
880 | buf[i+8], buf [i+9], | ||
881 | buf[i+10], buf[i+11], | ||
882 | buf[i+12], buf [i+13], | ||
883 | buf[i+14], buf[i+15]); | ||
884 | } | ||
885 | } | ||
886 | break; | 868 | break; |
887 | } | 869 | } |
888 | 870 | ||