diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-05-31 14:49:41 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-06-19 15:49:14 -0400 |
commit | 427fa00b8953b4cc428737af2b062e8ab4de3e21 (patch) | |
tree | 38d504b250a0831ea1d5a8dc439169504b844d1d /drivers/net/wireless/b43/tables_nphy.c | |
parent | bee6d4b272ba6e668f0c12d8bb66d76e1826f406 (diff) |
b43: PHY: drop channel_type (we can get this 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/tables_nphy.c')
-rw-r--r-- | drivers/net/wireless/b43/tables_nphy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/tables_nphy.c b/drivers/net/wireless/b43/tables_nphy.c index 4047c05e3807..b22171592926 100644 --- a/drivers/net/wireless/b43/tables_nphy.c +++ b/drivers/net/wireless/b43/tables_nphy.c | |||
@@ -3191,7 +3191,7 @@ struct nphy_gain_ctl_workaround_entry *b43_nphy_get_gain_ctl_workaround_ent( | |||
3191 | /* Some workarounds to the workarounds... */ | 3191 | /* Some workarounds to the workarounds... */ |
3192 | if (ghz5 && dev->phy.rev >= 6) { | 3192 | if (ghz5 && dev->phy.rev >= 6) { |
3193 | if (dev->phy.radio_rev == 11 && | 3193 | if (dev->phy.radio_rev == 11 && |
3194 | !b43_channel_type_is_40mhz(dev->phy.channel_type)) | 3194 | !b43_is_40mhz(dev)) |
3195 | e->cliplo_gain = 0x2d; | 3195 | e->cliplo_gain = 0x2d; |
3196 | } else if (!ghz5 && dev->phy.rev >= 5) { | 3196 | } else if (!ghz5 && dev->phy.rev >= 5) { |
3197 | static const int gain_data[] = {0x0062, 0x0064, 0x006a, 0x106a, | 3197 | static const int gain_data[] = {0x0062, 0x0064, 0x006a, 0x106a, |