Patch "staging: r8712u: Set device type to wlan" has been added to the 3.12-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    staging: r8712u: Set device type to wlan

to the 3.12-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     staging-r8712u-set-device-type-to-wlan.patch
and it can be found in the queue-3.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 3a21f00a5002b14e4aab52aef59d33ed28468a13 Mon Sep 17 00:00:00 2001
From: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
Date: Tue, 24 Dec 2013 11:22:54 -0600
Subject: staging: r8712u: Set device type to wlan

From: Larry Finger <Larry.Finger@xxxxxxxxxxxx>

commit 3a21f00a5002b14e4aab52aef59d33ed28468a13 upstream.

The latest version of NetworkManager does not recognize the device as wireless
without this change.

Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 drivers/staging/rtl8712/usb_intf.c |    5 +++++
 1 file changed, 5 insertions(+)

--- a/drivers/staging/rtl8712/usb_intf.c
+++ b/drivers/staging/rtl8712/usb_intf.c
@@ -358,6 +358,10 @@ static u8 key_2char2num(u8 hch, u8 lch)
 	return (hex_to_bin(hch) << 4) | hex_to_bin(lch);
 }
 
+static const struct device_type wlan_type = {
+	.name = "wlan",
+};
+
 /*
  * drv_init() - a device potentially for us
  *
@@ -393,6 +397,7 @@ static int r871xu_drv_init(struct usb_in
 	padapter->pusb_intf = pusb_intf;
 	usb_set_intfdata(pusb_intf, pnetdev);
 	SET_NETDEV_DEV(pnetdev, &pusb_intf->dev);
+	pnetdev->dev.type = &wlan_type;
 	/* step 2. */
 	padapter->dvobj_init = &r8712_usb_dvobj_init;
 	padapter->dvobj_deinit = &r8712_usb_dvobj_deinit;


Patches currently in stable-queue which might be from Larry.Finger@xxxxxxxxxxxx are

queue-3.12/b43-fix-lockdep-splat.patch
queue-3.12/staging-r8712u-set-device-type-to-wlan.patch
queue-3.12/rtlwifi-redo-register-save-locations.patch
queue-3.12/rtlwifi-rtl8192cu-add-new-device-id.patch
queue-3.12/rtlwifi-rtl8192c-add-new-definitions-in-the-dm_common-header.patch
queue-3.12/b43-fix-the-wrong-assignment-of-status.freq-in-b43_rx.patch
queue-3.12/b43-fix-unload-oops-if-firmware-is-not-available.patch
queue-3.12/rtlwifi-rtl8192cu-add-new-firmware.patch
queue-3.12/b43legacy-fix-unload-oops-if-firmware-is-not-available.patch
queue-3.12/rtlwifi-rtl8192cu-fix-some-code-in-rf-handling.patch
queue-3.12/rtlwifi-set-the-link-state.patch
queue-3.12/rtlwifi-increase-the-rx-queue-length-for-usb-drivers.patch
queue-3.12/rtlwifi-rtl8192c-add-routines-to-save-restore-power-index-registers.patch
queue-3.12/rtlwifi-rtl8192c-prevent-reconnect-attempts-if-not-connected.patch
queue-3.12/rtlwifi-rtl8188ee-fix-typo-in-code.patch
queue-3.12/rtlwifi-rtl8192cu-update-the-power-index-registers.patch
queue-3.12/rtlwifi-add-missing-code-to-pwdb-statics-routine.patch
queue-3.12/rtlwifi-update-beacon-statistics-for-usb-driver.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]