diff options
author | Davide Caratti <dcaratti@redhat.com> | 2018-07-09 12:20:27 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-07-30 16:30:35 +0200 |
commit | 53c2cb8df3278481006255660ffc571ff4c5e0f1 (patch) | |
tree | 47743a2edd5de684cf466b3d80fc43f2a432606e | |
parent | mt7601u: use sw encryption for hw unsupported ciphers (diff) | |
download | linux-53c2cb8df3278481006255660ffc571ff4c5e0f1.tar.xz linux-53c2cb8df3278481006255660ffc571ff4c5e0f1.zip |
mt7601u: expose 802.11w support
Set MFP_CAPABLE bit in hw flag capabilities exported by the driver
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r-- | drivers/net/wireless/mediatek/mt7601u/init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt7601u/init.c b/drivers/net/wireless/mediatek/mt7601u/init.c index d3b611aaf061..faea99b7a445 100644 --- a/drivers/net/wireless/mediatek/mt7601u/init.c +++ b/drivers/net/wireless/mediatek/mt7601u/init.c @@ -603,6 +603,7 @@ int mt7601u_register_device(struct mt7601u_dev *dev) ieee80211_hw_set(hw, SUPPORTS_HT_CCK_RATES); ieee80211_hw_set(hw, AMPDU_AGGREGATION); ieee80211_hw_set(hw, SUPPORTS_RC_TABLE); + ieee80211_hw_set(hw, MFP_CAPABLE); hw->max_rates = 1; hw->max_report_rates = 7; hw->max_rate_tries = 1; |