Skip to content

Commit

Permalink
mt76x2: fix tssi initialization for 5GHz band
Browse files Browse the repository at this point in the history
Fix mcu initial configuration for tssi calibration on 5GHz band

Fixes: 7bc04215a66b ("mt76: add driver code for MT76x2e")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
  • Loading branch information
LorenzoBianconi authored and nbd168 committed Apr 3, 2018
1 parent 880611b commit bc35af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mt76x2_phy.c
Expand Up @@ -197,7 +197,7 @@ mt76x2_phy_tssi_init_cal(struct mt76x2_dev *dev)
if (mt76x2_channel_silent(dev))
return false;

if (chan->band == NL80211_BAND_2GHZ)
if (chan->band == NL80211_BAND_5GHZ)
flag |= BIT(0);

if (mt76x2_ext_pa_enabled(dev, chan->band))
Expand Down

0 comments on commit bc35af8

Please sign in to comment.