]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mt7601u: expose 802.11w support
authorDavide Caratti <dcaratti@redhat.com>
Mon, 9 Jul 2018 10:20:27 +0000 (12:20 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Jul 2018 14:30:35 +0000 (17:30 +0300)
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>
drivers/net/wireless/mediatek/mt7601u/init.c

index d3b611aaf06180d29252ffd72bb11f67467803eb..faea99b7a44518a38ba42b4a1e4cf1e081f8176e 100644 (file)
@@ -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;