mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: add default implementation for mt76_sw_scan/mt76_sw_scan_complete
Introduce a default implementation for mt76_sw_scan and mt76_sw_scan_complete in mt76 module and remove duplicated code since most of the drivers share the same implementation Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
37673a4181
commit
a7fa326039
+1
-1
@@ -165,7 +165,7 @@ const struct ieee80211_ops mt76x2_ops = {
|
||||
.sta_state = mt76_sta_state,
|
||||
.set_key = mt76x02_set_key,
|
||||
.conf_tx = mt76x02_conf_tx,
|
||||
.sw_scan_start = mt76x02_sw_scan,
|
||||
.sw_scan_start = mt76_sw_scan,
|
||||
.sw_scan_complete = mt76x02_sw_scan_complete,
|
||||
.flush = mt76x2_flush,
|
||||
.ampdu_action = mt76x02_ampdu_action,
|
||||
|
||||
+1
-1
@@ -114,7 +114,7 @@ const struct ieee80211_ops mt76x2u_ops = {
|
||||
.bss_info_changed = mt76x02_bss_info_changed,
|
||||
.configure_filter = mt76x02_configure_filter,
|
||||
.conf_tx = mt76x02_conf_tx,
|
||||
.sw_scan_start = mt76x02_sw_scan,
|
||||
.sw_scan_start = mt76_sw_scan,
|
||||
.sw_scan_complete = mt76x02_sw_scan_complete,
|
||||
.sta_rate_tbl_update = mt76x02_sta_rate_tbl_update,
|
||||
.get_txpower = mt76_get_txpower,
|
||||
|
||||
Reference in New Issue
Block a user