summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtl8180_grf5101.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rtl8180_grf5101.c')
-rw-r--r--drivers/net/wireless/rtl8180_grf5101.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl8180_grf5101.c b/drivers/net/wireless/rtl8180_grf5101.c
index 5d47935..947ee55 100644
--- a/drivers/net/wireless/rtl8180_grf5101.c
+++ b/drivers/net/wireless/rtl8180_grf5101.c
@@ -88,7 +88,7 @@ static void grf5101_rf_set_channel(struct ieee80211_hw *dev,
write_grf5101(dev, 0x0B, chan);
write_grf5101(dev, 0x07, 0x1000);
- grf5101_write_phy_antenna(dev, chan);
+ grf5101_write_phy_antenna(dev, channel);
}
static void grf5101_rf_stop(struct ieee80211_hw *dev)
OpenPOWER on IntegriCloud