[PATCH 0/1] asus-wireless: Use the correct HSWC parameter for each HID

From: JoÃo Paulo Rechi Vita
Date: Thu Jan 26 2017 - 10:00:56 EST


As stated in the commit message, different machines can use different values to
represent LED ON/OFF, and this commit makes sure we use the correct value pair
for each _HID.

I don't know if there is a better way to store these pairs than in a structure
matching the device_ids[] indexing that would avoid looping through
device_ids[] in asus_wireless_add(). I'm happy to try suggestions to improve
that.

JoÃo Paulo Rechi Vita (1):
asus-wireless: Use the correct HSWC parameter for each HID

drivers/platform/x86/asus-wireless.c | 46 ++++++++++++++++++++++++++----------
1 file changed, 33 insertions(+), 13 deletions(-)

--
2.11.0