diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-05-31 20:49:40 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-06-19 15:49:13 -0400 |
commit | bee6d4b272ba6e668f0c12d8bb66d76e1826f406 (patch) | |
tree | 6c58b4193fc93dc388cc446c1dc41e85ec0d298e /drivers/net/wireless/b43/main.c | |
parent | 39e971ef1b0ced72b6504429296551bbf14ac965 (diff) | |
download | op-kernel-dev-bee6d4b272ba6e668f0c12d8bb66d76e1826f406.zip op-kernel-dev-bee6d4b272ba6e668f0c12d8bb66d76e1826f406.tar.gz |
b43: PHY: drop is_40mhz (get width info from chandef)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 2b99ed3..4b662d0 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@ -3810,11 +3810,6 @@ static int b43_op_config(struct ieee80211_hw *hw, u32 changed) if (changed & IEEE80211_CONF_CHANGE_CHANNEL) { phy->chandef = &conf->chandef; phy->channel = conf->chandef.chan->hw_value; - if (conf_is_ht(conf)) - phy->is_40mhz = conf_is_ht40_minus(conf) || - conf_is_ht40_plus(conf); - else - phy->is_40mhz = false; /* Switch the band (if necessary). */ err = b43_switch_band(dev, conf->chandef.chan); |