aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtl8187_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rtl8187_dev.c')
-rw-r--r--drivers/net/wireless/rtl8187_dev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtl8187_dev.c b/drivers/net/wireless/rtl8187_dev.c
index 6260ed8ce12b..66add5e77e00 100644
--- a/drivers/net/wireless/rtl8187_dev.c
+++ b/drivers/net/wireless/rtl8187_dev.c
@@ -152,8 +152,6 @@ void rtl8187_write_phy(struct ieee80211_hw *dev, u8 addr, u32 data)
152 rtl818x_iowrite8(priv, &priv->map->PHY[2], (data >> 16) & 0xFF); 152 rtl818x_iowrite8(priv, &priv->map->PHY[2], (data >> 16) & 0xFF);
153 rtl818x_iowrite8(priv, &priv->map->PHY[1], (data >> 8) & 0xFF); 153 rtl818x_iowrite8(priv, &priv->map->PHY[1], (data >> 8) & 0xFF);
154 rtl818x_iowrite8(priv, &priv->map->PHY[0], data & 0xFF); 154 rtl818x_iowrite8(priv, &priv->map->PHY[0], data & 0xFF);
155
156 msleep(1);
157} 155}
158 156
159static void rtl8187_tx_cb(struct urb *urb) 157static void rtl8187_tx_cb(struct urb *urb)
@@ -669,7 +667,7 @@ static int rtl8187b_init_hw(struct ieee80211_hw *dev)
669 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, 0x0480); 667 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, 0x0480);
670 rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0x2488); 668 rtl818x_iowrite16(priv, &priv->map->RFPinsSelect, 0x2488);
671 rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF); 669 rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, 0x1FFF);
672 msleep(1100); 670 msleep(100);
673 671
674 priv->rf->init(dev); 672 priv->rf->init(dev);
675 673
@@ -872,7 +870,6 @@ static int rtl8187_config(struct ieee80211_hw *dev, u32 changed)
872 */ 870 */
873 rtl818x_iowrite32(priv, &priv->map->TX_CONF, 871 rtl818x_iowrite32(priv, &priv->map->TX_CONF,
874 reg | RTL818X_TX_CONF_LOOPBACK_MAC); 872 reg | RTL818X_TX_CONF_LOOPBACK_MAC);
875 msleep(10);
876 priv->rf->set_chan(dev, conf); 873 priv->rf->set_chan(dev, conf);
877 msleep(10); 874 msleep(10);
878 rtl818x_iowrite32(priv, &priv->map->TX_CONF, reg); 875 rtl818x_iowrite32(priv, &priv->map->TX_CONF, reg);