diff options
author | David S. Miller <davem@davemloft.net> | 2014-12-16 15:16:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-16 15:16:48 -0500 |
commit | c9f2c3d36c10717159caae4b66410f74ce45d30c (patch) | |
tree | b691f572aecdefc2366380c3215a45dc2e91f3ad /drivers/net/wireless/hostap/hostap_cs.c | |
parent | 6539c44d08ac2eea693b6163135169b9c8c18bb1 (diff) | |
parent | 9a1dce3a059111a7289680f4b8c0ec4f8736b6ee (diff) |
Merge tag 'master-2014-12-15' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
John W. Linville says:
====================
pull request: wireless 2014-12-16
Please pull this batch of fixes intended for the 3.19 stream!
For the Bluetooth bits, Johan says:
"The patches consist of:
- Coccinelle warning fix
- hci_dev_lock/unlock fixes
- Fixes for pending mgmt command handling
- Fixes for properly following the force_lesc_support switch
- Fix for a Microsoft branded Broadcom adapter
- New device id for Atheros AR3012
- Fix for BR/EDR Secure Connections enabling"
Along with that...
Brian Norris avoids leaking some kernel memory contents via printk in brcmsmac.
Julia Lawall corrects some misspellings in a few drivers.
Larry Finger gives us one more rtlwifi fix to correct a porting oversight.
Wei Yongjun fixes a sparse warning in rtlwifi.
Please let me know if there are problems!
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_cs.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_cs.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c index b6ec51923b20..50033aa7c7d5 100644 --- a/drivers/net/wireless/hostap/hostap_cs.c +++ b/drivers/net/wireless/hostap/hostap_cs.c | |||
@@ -381,18 +381,15 @@ static void prism2_pccard_genesis_reset(local_info_t *local, int hcr) | |||
381 | 381 | ||
382 | res = pcmcia_read_config_byte(hw_priv->link, CISREG_COR, &old_cor); | 382 | res = pcmcia_read_config_byte(hw_priv->link, CISREG_COR, &old_cor); |
383 | if (res != 0) { | 383 | if (res != 0) { |
384 | printk(KERN_DEBUG "prism2_pccard_genesis_sreset failed 1 " | 384 | printk(KERN_DEBUG "%s failed 1 (%d)\n", __func__, res); |
385 | "(%d)\n", res); | ||
386 | return; | 385 | return; |
387 | } | 386 | } |
388 | printk(KERN_DEBUG "prism2_pccard_genesis_sreset: original COR %02x\n", | 387 | printk(KERN_DEBUG "%s: original COR %02x\n", __func__, old_cor); |
389 | old_cor); | ||
390 | 388 | ||
391 | res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR, | 389 | res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR, |
392 | old_cor | COR_SOFT_RESET); | 390 | old_cor | COR_SOFT_RESET); |
393 | if (res != 0) { | 391 | if (res != 0) { |
394 | printk(KERN_DEBUG "prism2_pccard_genesis_sreset failed 2 " | 392 | printk(KERN_DEBUG "%s failed 2 (%d)\n", __func__, res); |
395 | "(%d)\n", res); | ||
396 | return; | 393 | return; |
397 | } | 394 | } |
398 | 395 | ||
@@ -401,8 +398,7 @@ static void prism2_pccard_genesis_reset(local_info_t *local, int hcr) | |||
401 | /* Setup Genesis mode */ | 398 | /* Setup Genesis mode */ |
402 | res = pcmcia_write_config_byte(hw_priv->link, CISREG_CCSR, hcr); | 399 | res = pcmcia_write_config_byte(hw_priv->link, CISREG_CCSR, hcr); |
403 | if (res != 0) { | 400 | if (res != 0) { |
404 | printk(KERN_DEBUG "prism2_pccard_genesis_sreset failed 3 " | 401 | printk(KERN_DEBUG "%s failed 3 (%d)\n", __func__, res); |
405 | "(%d)\n", res); | ||
406 | return; | 402 | return; |
407 | } | 403 | } |
408 | mdelay(10); | 404 | mdelay(10); |
@@ -410,8 +406,7 @@ static void prism2_pccard_genesis_reset(local_info_t *local, int hcr) | |||
410 | res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR, | 406 | res = pcmcia_write_config_byte(hw_priv->link, CISREG_COR, |
411 | old_cor & ~COR_SOFT_RESET); | 407 | old_cor & ~COR_SOFT_RESET); |
412 | if (res != 0) { | 408 | if (res != 0) { |
413 | printk(KERN_DEBUG "prism2_pccard_genesis_sreset failed 4 " | 409 | printk(KERN_DEBUG "%s failed 4 (%d)\n", __func__, res); |
414 | "(%d)\n", res); | ||
415 | return; | 410 | return; |
416 | } | 411 | } |
417 | 412 | ||