pull request: wireless 2013-03-15
Subsystems (5)
Dave,
Please pull these fixes for the 3.9 stream.
On the NFC bits, Samuel says:
"With this one we have:
- A fix for properly decreasing socket ack log.
- A timer and works cleanup upon NFC device removal.
- A monitoroing socket cleanup round from llcp_socket_release.
- A proper error report to pending sockets upon NFC device removal."
Regarding the Bluetooth bits, Gustavo says:
"I have these two patches for 3.9, these add support for two more devices to the bluetooth drivers."
Along with those, we have a few wireless driver fixes...
Bing Zhao provides an mwifiex to prevent an out-of-bounds memory access.
John Crispin offers a Kconfig fix to enable some otherwise dead code in rt2x00. The correct symbols were added in -rc1 through a different tree, but the symbols for enabling the wireless driver didn't match.
Larry Finger brings an rtlwifi fix for a scheduling while atomic bug, and another fix for a reassociation problem caused by failing to clear the BSSID after a disconnect.
Please let me know if there are problems!
Thanks,
John
---
The following changes since commit aaa0c23cb90141309f5076ba5e3bfbd39544b985:
Fix dst_neigh_lookup/dst_neigh_lookup_skb return value handling bug (2013-03-15 09:06:58 -0400)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless.git for-davem
for you to fetch changes up to f3a3440063d6b01470507ecde9cf8ed0b033362a:
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless into for-davem (2013-03-15 10:44:36 -0400)
----------------------------------------------------------------
Bing Zhao (1):
mwifiex: fix potential out-of-boundary access to ibss rate table
John Crispin (1):
rt2x00: fix rt2x00 to work with the new ralink SoC config symbols
John W. Linville (3):
Merge tag 'nfc-fixes-3.9-1' of git://git.kernel.org/.../sameo/nfc-fixes
Merge branch 'for-upstream' of git://git.kernel.org/.../bluetooth/bluetooth
Merge branch 'master' of git://git.kernel.org/.../linville/wireless into for-davem
Josh Boyer (1):
Bluetooth: Add support for atheros 04ca:3004 device to ath3k
Larry Finger (2):
rtlwifi: rtl8192cu: Fix schedule while atomic bug splat
rtlwifi: rtl8192cu: Fix problem that prevents reassociation
Samuel Ortiz (4):
NFC: llcp: Decrease socket ack log when accepting a connection
NFC: llcp: Clean local timers and works when removing a device
NFC: llcp: Clean raw sockets from nfc_llcp_socket_release
NFC: llcp: Report error to pending sockets when a device is removed
Sunguk Lee (1):
Bluetooth: Device 0cf3:3008 should map AR 3012
drivers/bluetooth/ath3k.c | 4 ++ drivers/bluetooth/btusb.c | 2 + drivers/net/wireless/mwifiex/join.c | 7 +-- drivers/net/wireless/rt2x00/Kconfig | 4 +- drivers/net/wireless/rt2x00/rt2800pci.c | 14 ++--- drivers/net/wireless/rtlwifi/rtl8192cu/hw.c | 89 ++++++++++++----------------- net/nfc/llcp/llcp.c | 62 +++++++++++++++++--- net/nfc/llcp/sock.c | 2 + 8 files changed, 108 insertions(+), 76 deletions(-)
drivers/bluetooth/ath3k.c +4 -0
@@ -74,8 +74,10 @@ static struct usb_device_id ath3k_table[] = {/* Atheros AR3012 with sflash firmware*/ { USB_DEVICE(0x0CF3, 0x3004) }, + { USB_DEVICE(0x0CF3, 0x3008) }, { USB_DEVICE(0x0CF3, 0x311D) }, { USB_DEVICE(0x13d3, 0x3375) }, + { USB_DEVICE(0x04CA, 0x3004) }, { USB_DEVICE(0x04CA, 0x3005) }, { USB_DEVICE(0x04CA, 0x3006) }, { USB_DEVICE(0x04CA, 0x3008) },
@@ -106,8 +108,10 @@ static struct usb_device_id ath3k_blist_tbl[] = {/* Atheros AR3012 with sflash firmware*/ { USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x0cf3, 0x3008), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0cf3, 0x311D), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x04ca, 0x3004), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3006), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
drivers/bluetooth/btusb.c +2 -0
@@ -132,8 +132,10 @@ static struct usb_device_id blacklist_table[] = {/* Atheros 3012 with sflash firmware */ { USB_DEVICE(0x0cf3, 0x3004), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x0cf3, 0x3008), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x0cf3, 0x311d), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x13d3, 0x3375), .driver_info = BTUSB_ATH3012 }, + { USB_DEVICE(0x04ca, 0x3004), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3005), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3006), .driver_info = BTUSB_ATH3012 }, { USB_DEVICE(0x04ca, 0x3008), .driver_info = BTUSB_ATH3012 },
drivers/net/wireless/mwifiex/join.c +3 -4
@@ -1117,10 +1117,9 @@ mwifiex_cmd_802_11_ad_hoc_join(struct mwifiex_private *priv, adhoc_join->bss_descriptor.bssid, adhoc_join->bss_descriptor.ssid); -for (i =0 ; bss_desc->supported_rates[i] && - i <MWIFIEX_SUPPORTED_RATES ; - i++) - ; +for (i =0 ; i <MWIFIEX_SUPPORTED_RATES && + bss_desc->supported_rates[i]; i++) + ; rates_size = i;/* Copy Data Rates from the Rates recorded in scan response */
drivers/net/wireless/rt2x00/Kconfig +2 -2
@@ -55,10 +55,10 @@ config RT61PCI config RT2800PCI tristate "Ralink rt27xx/rt28xx/rt30xx (PCI/PCIe/PCMCIA) support" - depends on PCI || RALINK_RT288X || RALINK_RT305X + depends on PCI || SOC_RT288X || SOC_RT305X select RT2800_LIB select RT2X00_LIB_PCI if PCI - select RT2X00_LIB_SOC if RALINK_RT288X || RALINK_RT305X + select RT2X00_LIB_SOC if SOC_RT288X || SOC_RT305X select RT2X00_LIB_FIRMWARE select RT2X00_LIB_CRYPTO select CRC_CCITT
drivers/net/wireless/rt2x00/rt2800pci.c +7 -7
@@ -89,7 +89,7 @@ static void rt2800pci_mcu_status(struct rt2x00_dev *rt2x00dev, const u8 token)rt2x00pci_register_write (rt2x00dev,H2M_MAILBOX_CID , ~0 ); } -#if defined(CONFIG_RALINK_RT288X ) || defined(CONFIG_RALINK_RT305X ) +#if defined(CONFIG_SOC_RT288X ) || defined(CONFIG_SOC_RT305X )static int rt2800pci_read_eeprom_soc (struct rt2x00_dev *rt2x00dev) {void __iomem *base_addr =ioremap (0x1F040000 ,EEPROM_SIZE );
@@ -107,7 +107,7 @@ static inline int rt2800pci_read_eeprom_soc(struct rt2x00_dev *rt2x00dev) {return -ENOMEM ; } -#endif /* CONFIG_RALINK_RT288X || CONFIG_RALINK_RT305X */ +#endif /* CONFIG_SOC_RT288X || CONFIG_SOC_RT305X */ #ifdef CONFIG_PCI static void rt2800pci_eepromregister_read (struct eeprom_93cx6 *eeprom)
@@ -1177,7 +1177,7 @@ MODULE_DEVICE_TABLE(pci, rt2800pci_device_table);#endif /* CONFIG_PCI */ MODULE_LICENSE ("GPL" ); -#if defined(CONFIG_RALINK_RT288X ) || defined(CONFIG_RALINK_RT305X ) +#if defined(CONFIG_SOC_RT288X ) || defined(CONFIG_SOC_RT305X )static int rt2800soc_probe (struct platform_device *pdev) {return rt2x00soc_probe (pdev, &rt2800pci_ops);
@@ -1194,7 +1194,7 @@ static struct platform_driver rt2800soc_driver = { .suspend = rt2x00soc_suspend, .resume = rt2x00soc_resume, }; -#endif /* CONFIG_RALINK_RT288X || CONFIG_RALINK_RT305X */ +#endif /* CONFIG_SOC_RT288X || CONFIG_SOC_RT305X */ #ifdef CONFIG_PCI static int rt2800pci_probe(struct pci_dev *pci_dev,
@@ -1217,7 +1217,7 @@ static int __init rt2800pci_init(void) {int ret =0 ; -#if defined(CONFIG_RALINK_RT288X ) || defined(CONFIG_RALINK_RT305X ) +#if defined(CONFIG_SOC_RT288X ) || defined(CONFIG_SOC_RT305X ) ret =platform_driver_register (&rt2800soc_driver);if (ret)return ret;
@@ -1225,7 +1225,7 @@ static int __init rt2800pci_init(void)#ifdef CONFIG_PCI ret =pci_register_driver (&rt2800pci_driver);if (ret) { -#if defined(CONFIG_RALINK_RT288X ) || defined(CONFIG_RALINK_RT305X ) +#if defined(CONFIG_SOC_RT288X ) || defined(CONFIG_SOC_RT305X )platform_driver_unregister (&rt2800soc_driver);#endif return ret;
@@ -1240,7 +1240,7 @@ static void __exit rt2800pci_exit(void)#ifdef CONFIG_PCI pci_unregister_driver (&rt2800pci_driver);#endif -#if defined(CONFIG_RALINK_RT288X ) || defined(CONFIG_RALINK_RT305X ) +#if defined(CONFIG_SOC_RT288X ) || defined(CONFIG_SOC_RT305X )platform_driver_unregister (&rt2800soc_driver);#endif }
drivers/net/wireless/rtlwifi/rtl8192cu/hw.c +35 -54
117 lines not on this page · raw message
net/nfc/llcp/llcp.c +53 -9
113 lines not on this page · raw message
net/nfc/llcp/sock.c +2 -0
@@ -278,6 +278,8 @@ struct sock *nfc_llcp_accept_dequeue(struct sock *parent,pr_debug ("Returning sk state %d\n" , sk->sk_state); +sk_acceptq_removed (parent); +return sk; }
Signature · 2 lines
John W. Linville Someday the world will need a hero, and you [email protected] might be all we have. Be ready.
David Miller
maintainerFrom: "John W. Linville" <[email protected]>
Date: Fri, 15 Mar 2013 11:16:49 -0400
Quoted 1 line
Please pull these fixes for the 3.9 stream.
Pulled, thanks John.