diff options
| author | David S. Miller <davem@davemloft.net> | 2014-03-31 16:44:55 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-03-31 16:44:55 -0400 |
| commit | ce22bb6122e849e0d3a6857d03eb69a25bfdc6e9 (patch) | |
| tree | 8574d13b4cde10074fb83b0902f261d473ad0939 | |
| parent | 43a43b6040165f7b40b5b489fe61a4cb7f8c4980 (diff) | |
| parent | 96da266e77637ae892b196f377908c51fa9f2d1a (diff) | |
Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next
John W. Linville says:
====================
pull request: wireless-next 2014-03-31
Please accept this one last round of general wireless updates for
the 3.15 merge window!
For the Bluetooth bits, Gustavo says:
"Here follow another set of patches to 3.15. This is mostly a bug fix
pull request with the exception of one commit from Marcel which adds
tracking to the current configured LE scan type parameter."
Beyond that, notable bits include some final refactoring of rtl8180
and the addition of the rtl8187se driver, fixes for a number of
problems identified by Dan Carpenter and his static analysis tools,
and a handful of other bits here and there.
Please let me know if there are problems!
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
49 files changed, 1805 insertions, 395 deletions
diff --git a/drivers/bcma/driver_gpio.c b/drivers/bcma/driver_gpio.c index 25f9887a35d0..d7f81ad56b8a 100644 --- a/drivers/bcma/driver_gpio.c +++ b/drivers/bcma/driver_gpio.c | |||
| @@ -218,7 +218,14 @@ int bcma_gpio_init(struct bcma_drv_cc *cc) | |||
| 218 | #if IS_BUILTIN(CONFIG_BCMA_HOST_SOC) | 218 | #if IS_BUILTIN(CONFIG_BCMA_HOST_SOC) |
| 219 | chip->to_irq = bcma_gpio_to_irq; | 219 | chip->to_irq = bcma_gpio_to_irq; |
| 220 | #endif | 220 | #endif |
| 221 | chip->ngpio = 16; | 221 | switch (cc->core->bus->chipinfo.id) { |
| 222 | case BCMA_CHIP_ID_BCM5357: | ||
| 223 | chip->ngpio = 32; | ||
| 224 | break; | ||
| 225 | default: | ||
| 226 | chip->ngpio = 16; | ||
| 227 | } | ||
| 228 | |||
| 222 | /* There is just one SoC in one device and its GPIO addresses should be | 229 | /* There is just one SoC in one device and its GPIO addresses should be |
| 223 | * deterministic to address them more easily. The other buses could get | 230 | * deterministic to address them more easily. The other buses could get |
| 224 | * a random base number. */ | 231 | * a random base number. */ |
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c index a9a989e5ee88..dfa5043e68ba 100644 --- a/drivers/bluetooth/bluecard_cs.c +++ b/drivers/bluetooth/bluecard_cs.c | |||
| @@ -901,7 +901,7 @@ static void bluecard_release(struct pcmcia_device *link) | |||
| 901 | 901 | ||
| 902 | bluecard_close(info); | 902 | bluecard_close(info); |
| 903 | 903 | ||
| 904 | del_timer(&(info->timer)); | 904 | del_timer_sync(&(info->timer)); |
| 905 | 905 | ||
| 906 | pcmcia_disable_device(link); | 906 | pcmcia_disable_device(link); |
| 907 | } | 907 | } |
diff --git a/drivers/bluetooth/btmrvl_main.c b/drivers/bluetooth/btmrvl_main.c index 1e0320af00c6..2c4997ce2484 100644 --- a/drivers/bluetooth/btmrvl_main.c +++ b/drivers/bluetooth/btmrvl_main.c | |||
| @@ -59,12 +59,13 @@ bool btmrvl_check_evtpkt(struct btmrvl_private *priv, struct sk_buff *skb) | |||
| 59 | priv->btmrvl_dev.sendcmdflag = false; | 59 | priv->btmrvl_dev.sendcmdflag = false; |
| 60 | priv->adapter->cmd_complete = true; | 60 | priv->adapter->cmd_complete = true; |
| 61 | wake_up_interruptible(&priv->adapter->cmd_wait_q); | 61 | wake_up_interruptible(&priv->adapter->cmd_wait_q); |
| 62 | } | ||
| 63 | 62 | ||
| 64 | if (hci_opcode_ogf(opcode) == 0x3F) { | 63 | if (hci_opcode_ogf(opcode) == 0x3F) { |
| 65 | BT_DBG("vendor event skipped: opcode=%#4.4x", opcode); | 64 | BT_DBG("vendor event skipped: opcode=%#4.4x", |
| 66 | kfree_skb(skb); | 65 | opcode); |
| 67 | return false; | 66 | kfree_skb(skb); |
| 67 | return false; | ||
| 68 | } | ||
| 68 | } | 69 | } |
| 69 | } | 70 | } |
| 70 | 71 | ||
diff --git a/drivers/net/wireless/ath/carl9170/rx.c b/drivers/net/wireless/ath/carl9170/rx.c index 536bc46a2912..924135b8e575 100644 --- a/drivers/net/wireless/ath/carl9170/rx.c +++ b/drivers/net/wireless/ath/carl9170/rx.c | |||
| @@ -572,7 +572,7 @@ static void carl9170_ps_beacon(struct ar9170 *ar, void *data, unsigned int len) | |||
| 572 | 572 | ||
| 573 | static void carl9170_ba_check(struct ar9170 *ar, void *data, unsigned int len) | 573 | static void carl9170_ba_check(struct ar9170 *ar, void *data, unsigned int len) |
| 574 | { | 574 | { |
| 575 | struct ieee80211_bar *bar = (void *) data; | 575 | struct ieee80211_bar *bar = data; |
| 576 | struct carl9170_bar_list_entry *entry; | 576 | struct carl9170_bar_list_entry *entry; |
| 577 | unsigned int queue; | 577 | unsigned int queue; |
| 578 | 578 | ||
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c index e0e649aab8db..afb3d15e38ff 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c | |||
| @@ -1354,13 +1354,14 @@ static s32 brcmf_set_auth_type(struct net_device *ndev, | |||
| 1354 | } | 1354 | } |
| 1355 | 1355 | ||
| 1356 | static s32 | 1356 | static s32 |
| 1357 | brcmf_set_set_cipher(struct net_device *ndev, | 1357 | brcmf_set_wsec_mode(struct net_device *ndev, |
| 1358 | struct cfg80211_connect_params *sme) | 1358 | struct cfg80211_connect_params *sme, bool mfp) |
| 1359 | { | 1359 | { |
| 1360 | struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); | 1360 | struct brcmf_cfg80211_profile *profile = ndev_to_prof(ndev); |
| 1361 | struct brcmf_cfg80211_security *sec; | 1361 | struct brcmf_cfg80211_security *sec; |
| 1362 | s32 pval = 0; | 1362 | s32 pval = 0; |
| 1363 | s32 gval = 0; | 1363 | s32 gval = 0; |
| 1364 | s32 wsec; | ||
| 1364 | s32 err = 0; | 1365 | s32 err = 0; |
| 1365 | 1366 | ||
| 1366 | if (sme->crypto.n_ciphers_pairwise) { | 1367 | if (sme->crypto.n_ciphers_pairwise) { |
| @@ -1412,7 +1413,12 @@ brcmf_set_set_cipher(struct net_device *ndev, | |||
| 1412 | if (brcmf_find_wpsie(sme->ie, sme->ie_len) && !pval && !gval && | 1413 | if (brcmf_find_wpsie(sme->ie, sme->ie_len) && !pval && !gval && |
| 1413 | sme->privacy) | 1414 | sme->privacy) |
| 1414 | pval = AES_ENABLED; | 1415 | pval = AES_ENABLED; |
| 1415 | err = brcmf_fil_bsscfg_int_set(netdev_priv(ndev), "wsec", pval | gval); | 1416 | |
| 1417 | if (mfp) | ||
| 1418 | wsec = pval | gval | MFP_CAPABLE; | ||
| 1419 | else | ||
