]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mt76: mt7615: init get_txpower mac80211 callback
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 26 May 2019 14:05:12 +0000 (16:05 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 27 Jun 2019 10:58:13 +0000 (12:58 +0200)
Initialize get_txpower mac80211 callback to mt76_get_txpower
in order to report the configured tx power to mac80211

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/main.c

index 72bdb871ca138a361d38e1e2c4e222d74ff9596e..cedc4c25f34d8e0d555c0196d78ff58399ef2e3b 100644 (file)
@@ -493,4 +493,5 @@ const struct ieee80211_ops mt7615_ops = {
        .sw_scan_start = mt7615_sw_scan,
        .sw_scan_complete = mt7615_sw_scan_complete,
        .release_buffered_frames = mt76_release_buffered_frames,
+       .get_txpower = mt76_get_txpower,
 };