zephyr/subsys/usb/class/netusb
Johann Fischer cb0dd0cc93 usb: function_eem: fix eem_read_cb
This patch prevents eem_read_cb from trying to allocate a lot of memory.

It may happen that EEM payload size is zero, the eem_read_cb then tries
to allocate a buffer which is 0xfffc bytes large and luckily blocks.

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
2018-05-28 12:47:32 -04:00
..
CMakeLists.txt usb: netusb: Add subsys/usb to include list 2018-05-26 08:27:16 -04:00
Kconfig
function_ecm.c usb: netusb: Refactor function's status callbacks 2018-05-26 08:27:16 -04:00
function_eem.c usb: function_eem: fix eem_read_cb 2018-05-28 12:47:32 -04:00
function_rndis.c usb: netusb: Refactor function's status callbacks 2018-05-26 08:27:16 -04:00
function_rndis.h
netusb.c usb: netusb: Use function - defined status callbacks 2018-05-26 08:27:16 -04:00
netusb.h usb: netusb: Use function - defined status callbacks 2018-05-26 08:27:16 -04:00