summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtl8180_sa2400.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rtl8180_sa2400.c')
-rw-r--r--drivers/net/wireless/rtl8180_sa2400.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl8180_sa2400.c b/drivers/net/wireless/rtl8180_sa2400.c
index 0311b4ea124..cea4e0ccb92 100644
--- a/drivers/net/wireless/rtl8180_sa2400.c
+++ b/drivers/net/wireless/rtl8180_sa2400.c
@@ -86,7 +86,7 @@ static void sa2400_rf_set_channel(struct ieee80211_hw *dev,
write_sa2400(dev, 7, txpw);
- sa2400_write_phy_antenna(dev, chan);
+ sa2400_write_phy_antenna(dev, channel);
write_sa2400(dev, 0, chan);
write_sa2400(dev, 1, 0xbb50);