diff options
author | Lorenzo Bianconi <lorenzo.bianconi@redhat.com> | 2018-10-20 12:13:29 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-11-30 12:21:41 +0100 |
commit | 1da0a411bece6f63e2110f6a69862db70aadcc5e (patch) | |
tree | 7e7ff24c41874bd30f81e097d1b6e4e90b241857 /drivers/net/wireless/mediatek/mt76/mt76x0/usb.c | |
parent | c2756a1c41e4d6433e9e994d97bae88a0b6033cf (diff) | |
download | blackbird-op-linux-1da0a411bece6f63e2110f6a69862db70aadcc5e.tar.gz blackbird-op-linux-1da0a411bece6f63e2110f6a69862db70aadcc5e.zip |
mt76: move mt76x02_get_txpower in mt76x02_util.c
Move mt76x02_get_txpower utility routine in mt76x02-lib module
in order to be reused by mt76x0 and mt76x2u drivers
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0/usb.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x0/usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c b/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c index 8640ddf0e594..2105e966f745 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c @@ -156,6 +156,7 @@ static const struct ieee80211_ops mt76x0u_ops = { .sta_rate_tbl_update = mt76x02_sta_rate_tbl_update, .set_rts_threshold = mt76x0_set_rts_threshold, .wake_tx_queue = mt76_wake_tx_queue, + .get_txpower = mt76x02_get_txpower, }; static int mt76x0u_register_device(struct mt76x02_dev *dev) |