diff options
author | 2022-05-16 17:23:05 +0800 | |
---|---|---|
committer | 2022-05-19 17:44:25 +0200 | |
commit | 644ee3bff4ae56db4c4c92b4331f7f4ea4b2147e (patch) | |
tree | 291ca1a88add8f49a7b2a68ec8d88f409792c5f0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: r8188eu: remove _drv_ defines from include/rtw_debug.h (diff) | |
download | linux-dev-644ee3bff4ae56db4c4c92b4331f7f4ea4b2147e.tar.xz linux-dev-644ee3bff4ae56db4c4c92b4331f7f4ea4b2147e.zip |
staging: rtl8712: add error handler in r8712_usbctrl_vendorreq()
When 'status' returned from usb_control_msg() is not equal to 'len',
that usb_control_msg() is on partial failure, r8712_usbctrl_vendorreq()
will treat partial reads as success.
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Wang Cheng <wanngchenng@gmail.com>
Link: https://lore.kernel.org/r/e33ea53d36c422fbe7eabec5bd9eecb0ebce1bc5.1652618244.git.wanngchenng@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions