Skip to content
Commit 16c0cecb authored by Jerzy Kasenberg's avatar Jerzy Kasenberg Committed by Anas Nashif
Browse files

drivers: usb_device: smartbond: Fix reenable of EP0



When EP0 was disabled EP0 was setup to ignore setup and
out packets.
In usb_dc_ep_enable() function mask was never cleared.
It resulted in USB stop functioning after application
disabled endpoint (usb_disable()) and then tried
to enable usb again.

Signed-off-by: default avatarJerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
parent 0f167af3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment