summaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-10-07 12:04:35 +0200
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 18:06:01 -0400
commite87a2feea75e3cba7af43ed9317b56b282d87742 (patch)
tree3565c7758def16a84cba37202846559d0072a964 /net/mac80211/main.c
parentd73782fdde76554016abf73b46f843b29f520848 (diff)
downloadblackbird-op-linux-e87a2feea75e3cba7af43ed9317b56b282d87742.tar.gz
blackbird-op-linux-e87a2feea75e3cba7af43ed9317b56b282d87742.zip
mac80211: remove max_antenna_gain config
The antenna gain isn't exactly configurable, despite the belief of some unnamed individual who thinks that the EEPROM might influence it. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 2ff26d03cd50..d1c4e86b215c 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -215,8 +215,6 @@ int ieee80211_hw_config(struct ieee80211_local *local)
local->hw.conf.power_level = min(chan->max_power,
local->hw.conf.power_level);
- local->hw.conf.max_antenna_gain = chan->max_antenna_gain;
-
#ifdef CONFIG_MAC80211_VERBOSE_DEBUG
printk(KERN_DEBUG "%s: HW CONFIG: freq=%d\n",
wiphy_name(local->hw.wiphy), chan->center_freq);
OpenPOWER on IntegriCloud