ANDROID: usb: send netlink on device config error
When peer is connected to USB-A port there is no notification
to userspace. As a result we don't know when to enable the DbC
on USB-A port. The patch adds netlink notifcation to be sent to
userspace when config error happens. Config error hapens when
two USB hosts are connected and it is a signal to enable DbC.
Bug: 347567853
Upstream-task: 414317361
Test: With changes from 390154119 observe "config error" events
when two USB hosts are connected over USB-A port on DUT
Change-Id: Ic622faf6effd714e90a55fd1078fcf4965a61b7b
Signed-off-by:
Radu Vele <raduvele@google.com>
Loading
Please sign in to comment