On Thu, Mar 02, 2023 at 11:55:54AM +0100, Bastien Nocera wrote: > This adds the API that allows device specific drivers to tell user-space > about whether the wireless device is connected to its receiver dongle. > > See "USB: core: Add wireless_status sysfs attribute" for a detailed > explanation of what this attribute should be used for. > > Signed-off-by: Bastien Nocera <hadess@xxxxxxxxxx> > --- > Fixed locking/use-after-free in v2, thanks to Alan Stern > > Fixed ordering of locking/put in v3, thanks to Alan Stern again > > drivers/usb/core/message.c | 40 ++++++++++++++++++++++++++++++++++++++ > include/linux/usb.h | 5 +++++ > 2 files changed, 45 insertions(+) Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>