hso should register as a WWAN rfkill device, not WLAN
Subsystems (4)
PATCH 1/1 hso should register as a WWAN rfkill device, not WLAN
Currently the hso driver registers a WLAN rfkill switch, which is intended for 802.11 wireless network devices. Given that this driver supports GSM/HSPA devices it's more appropriate to register a WWAN rfkill switch type.
Signed-off-by Jonathan McDowell <[email protected]>
-----
drivers/net/usb/hso.c +1 -1
@@ -2188,7 +2188,7 @@ static void hso_create_rfkill(struct hso_device *hso_dev,char *rfkn; hso_net->rfkill =rfkill_allocate (&interface_to_usbdev (interface)->dev, -RFKILL_TYPE_WLAN ); +RFKILL_TYPE_WWAN );if (!hso_net->rfkill) {dev_err (dev,"%s - Out of memory\n" , __func__);return ;
-----
J.
Signature · 1 line
Revd. Jonathan McDowell, ULC | Settle down, Beavis.
Quoted 4 lines · Jonathan McDowell
Currently the hso driver registers a WLAN rfkill switch, which is intended for 802.11 wireless network devices. Given that this driver supports GSM/HSPA devices it's more appropriate to register a WWAN rfkill switch type.
Cool!!! We both sent the same patch almost at the same time :)
Quoted 1 line
Signed-off-by Jonathan McDowell <[email protected]>