OSDN Git Service

USB: core: Add API to change the wireless_status
authorBastien Nocera <hadess@hadess.net>
Thu, 2 Mar 2023 10:55:54 +0000 (11:55 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 3 Apr 2023 11:30:32 +0000 (13:30 +0200)
commit0a4db185f0788dfc828512d0004c468921bf6c0a
tree9cb7f43786b627a3d111bf21e59a76e76d7f4286
parentf98e0640c5c6b8bb00336dae8d06ede862754c28
USB: core: Add API to change the wireless_status

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@hadess.net>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20230302105555.51417-5-hadess@hadess.net
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/usb/core/message.c
include/linux/usb.h