diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-07-29 14:47:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-29 14:47:07 -0400 |
commit | ae3568adf42d5d3bb3cfa505b94351c5d1ce4924 (patch) | |
tree | 112865a6e6b1e4ddf70362f3efb295c495ec85b9 /drivers/net/wireless/rtl818x/rtl8187_dev.c | |
parent | 7f3e01fee41a322747db2d7574516d9fbd3785c0 (diff) | |
parent | b7753c8cd51dce67a0b152efb456a21ff1cc241b (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8187_dev.c')
-rw-r--r-- | drivers/net/wireless/rtl818x/rtl8187_dev.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8187_dev.c b/drivers/net/wireless/rtl818x/rtl8187_dev.c index 891b8490e349..5738a55c1b06 100644 --- a/drivers/net/wireless/rtl818x/rtl8187_dev.c +++ b/drivers/net/wireless/rtl818x/rtl8187_dev.c | |||
@@ -573,7 +573,7 @@ static int rtl8187_cmd_reset(struct ieee80211_hw *dev) | |||
573 | } while (--i); | 573 | } while (--i); |
574 | 574 | ||
575 | if (!i) { | 575 | if (!i) { |
576 | printk(KERN_ERR "%s: Reset timeout!\n", wiphy_name(dev->wiphy)); | 576 | wiphy_err(dev->wiphy, "reset timeout!\n"); |
577 | return -ETIMEDOUT; | 577 | return -ETIMEDOUT; |
578 | } | 578 | } |
579 | 579 | ||
@@ -589,8 +589,7 @@ static int rtl8187_cmd_reset(struct ieee80211_hw *dev) | |||
589 | } while (--i); | 589 | } while (--i); |
590 | 590 | ||
591 | if (!i) { | 591 | if (!i) { |
592 | printk(KERN_ERR "%s: eeprom reset timeout!\n", | 592 | wiphy_err(dev->wiphy, "eeprom reset timeout!\n"); |
593 | wiphy_name(dev->wiphy)); | ||
594 | return -ETIMEDOUT; | 593 | return -ETIMEDOUT; |
595 | } | 594 | } |
596 | 595 | ||
@@ -1527,9 +1526,9 @@ static int __devinit rtl8187_probe(struct usb_interface *intf, | |||
1527 | mutex_init(&priv->conf_mutex); | 1526 | mutex_init(&priv->conf_mutex); |
1528 | skb_queue_head_init(&priv->b_tx_status.queue); | 1527 | skb_queue_head_init(&priv->b_tx_status.queue); |
1529 | 1528 | ||
1530 | printk(KERN_INFO "%s: hwaddr %pM, %s V%d + %s, rfkill mask %d\n", | 1529 | wiphy_info(dev->wiphy, "hwaddr %pm, %s v%d + %s, rfkill mask %d\n", |
1531 | wiphy_name(dev->wiphy), mac_addr, | 1530 | mac_addr, chip_name, priv->asic_rev, priv->rf->name, |
1532 | chip_name, priv->asic_rev, priv->rf->name, priv->rfkill_mask); | 1531 | priv->rfkill_mask); |
1533 | 1532 | ||
1534 | #ifdef CONFIG_RTL8187_LEDS | 1533 | #ifdef CONFIG_RTL8187_LEDS |
1535 | eeprom_93cx6_read(&eeprom, 0x3F, ®); | 1534 | eeprom_93cx6_read(&eeprom, 0x3F, ®); |