diff options
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_main.c')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index 1051a49ddafe..8e08c41f86de 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -793,6 +793,10 @@ static int bcm43xx_read_radioinfo(struct bcm43xx_private *bcm) | |||
793 | bcm->current_core->radio->txpower[2] = 3; | 793 | bcm->current_core->radio->txpower[2] = 3; |
794 | else | 794 | else |
795 | bcm->current_core->radio->txpower[2] = 0; | 795 | bcm->current_core->radio->txpower[2] = 0; |
796 | if (bcm->current_core->phy->type == BCM43xx_PHYTYPE_A) | ||
797 | bcm->current_core->radio->txpower_desired = bcm->sprom.maxpower_aphy; | ||
798 | else | ||
799 | bcm->current_core->radio->txpower_desired = bcm->sprom.maxpower_bgphy; | ||
796 | 800 | ||
797 | /* Initialize the in-memory nrssi Lookup Table. */ | 801 | /* Initialize the in-memory nrssi Lookup Table. */ |
798 | for (i = 0; i < 64; i++) | 802 | for (i = 0; i < 64; i++) |