Introduction of r8152-cfgselector broke hotplug of Realtek USB NICs on machines that use usbguard. These patches are supposed to fix it. Tested on RTL8153 (0bda:8153) that has two configuration descriptors: vendor and CDC. P.S. I'm not sure whether it's supposed to go through the USB or netdev tree, therefore submitting to both mailing lists and marking for "net", but please advise. Maxim Mikityanskiy (2): USB: Allow usb_device_driver to override usb_choose_configuration r8152: Switch to using choose_configuration drivers/net/usb/r8152.c | 18 +++++++++--------- drivers/usb/core/generic.c | 10 ++++++++++ include/linux/usb.h | 3 +++ 3 files changed, 22 insertions(+), 9 deletions(-) -- 2.43.0