mt76x02: do not set protection on set_rts_threshold callback
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 10 Dec 2018 10:53:55 +0000 (11:53 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 11 Jan 2019 14:10:16 +0000 (15:10 +0100)
commit20ce270e5a7da08fdf946ed674ba10c71d18fdfb
tree3bab2d5ad7448e9d02ac87d0bf41b004f9db27b8
parentb9f81643b6aea47602adc3a61edf5ad207d640ec
mt76x02: do not set protection on set_rts_threshold callback

Use set_rts_threshold calback to enable/disable threshold only for
legacy traffic.

Protection for HT and VHT traffic is defined by HT operation element
and it's provided by remote AP or by hostapd.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x02_mac.c
drivers/net/wireless/mediatek/mt76/mt76x02_mac.h
drivers/net/wireless/mediatek/mt76/mt76x02_util.c