Commit 74508b29 authored by Larry Finger's avatar Larry Finger Committed by John W. Linville
Browse files

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: default avatarLarry Finger <>
Tested-by: default avatarHerton Ronaldo Krzesinski <>
Tested-by: default avatarHin-Tak Leung <>
Signed-off-by: default avatarJohn W. Linville <>
parent 94d4fe98
...@@ -870,7 +870,6 @@ static int rtl8187_config(struct ieee80211_hw *dev, u32 changed) ...@@ -870,7 +870,6 @@ static int rtl8187_config(struct ieee80211_hw *dev, u32 changed)
*/ */
rtl818x_iowrite32(priv, &priv->map->TX_CONF, rtl818x_iowrite32(priv, &priv->map->TX_CONF,
priv->rf->set_chan(dev, conf); priv->rf->set_chan(dev, conf);
msleep(10); msleep(10);
rtl818x_iowrite32(priv, &priv->map->TX_CONF, reg); rtl818x_iowrite32(priv, &priv->map->TX_CONF, reg);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment