HID: logitech-hidpp: Set wireless_status for G935 receiver
authorBastien Nocera <hadess@hadess.net>
Thu, 2 Mar 2023 10:55:55 +0000 (11:55 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 3 Apr 2023 11:30:48 +0000 (13:30 +0200)
commitd9d5623f37c0a2c05b66a2a41fdbc7f90055fdc1
tree05c7ad70b4e49ecb6deb10920911a39bd8f9f2dc
parent0a4db185f0788dfc828512d0004c468921bf6c0a
HID: logitech-hidpp: Set wireless_status for G935 receiver

Set the USB interface "wireless_status" for the G935 receiver when
receiving battery notifications.

This will allow sound daemons such as Pipewire or PulseAudio to know
whether or not the headset is turned on and connected.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Link: https://lore.kernel.org/r/20230302105555.51417-6-hadess@hadess.net
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-logitech-hidpp.c