diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2008-10-31 12:54:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-10 15:17:34 -0500 |
commit | 74508b29c51158e5b45bca13e702c68ef5c3b641 (patch) | |
tree | 219ebcbe8ae601359a6ce0a201b960fc687f8477 /drivers/net | |
parent | 94d4fe9824e5c62240f3ae2a33b2dd5a8a32a01b (diff) |
rtl8187: Reduce channel switch delay
The latest vendor driver (rtl8187B_linux_26.1036.0708.2008) has a 10 msec
delay after the call to set a new channel, but not before.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Tested-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rtl8187_dev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl8187_dev.c b/drivers/net/wireless/rtl8187_dev.c index 892ad2db7c0d..66add5e77e00 100644 --- a/drivers/net/wireless/rtl8187_dev.c +++ b/drivers/net/wireless/rtl8187_dev.c | |||
@@ -870,7 +870,6 @@ static int rtl8187_config(struct ieee80211_hw *dev, u32 changed) | |||
870 | */ | 870 | */ |
871 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, | 871 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, |
872 | reg | RTL818X_TX_CONF_LOOPBACK_MAC); | 872 | reg | RTL818X_TX_CONF_LOOPBACK_MAC); |
873 | msleep(10); | ||
874 | priv->rf->set_chan(dev, conf); | 873 | priv->rf->set_chan(dev, conf); |
875 | msleep(10); | 874 | msleep(10); |
876 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, reg); | 875 | rtl818x_iowrite32(priv, &priv->map->TX_CONF, reg); |