Commit 53d0ce0c authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: realtek: remove duplicated wake_tx_queue



By accident, the previous patch duplicated the initialization
of the wake_tx_queue callback. Fix that by removing the new
initializations.

Fixes: a790cc3a ("wifi: mac80211: add wake_tx_queue callback to drivers")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 107395f9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -896,7 +896,6 @@ static void rtw_ops_sta_rc_update(struct ieee80211_hw *hw,

const struct ieee80211_ops rtw_ops = {
	.tx			= rtw_ops_tx,
	.wake_tx_queue		= ieee80211_handle_wake_tx_queue,
	.wake_tx_queue		= rtw_ops_wake_tx_queue,
	.start			= rtw_ops_start,
	.stop			= rtw_ops_stop,
+0 −1
Original line number Diff line number Diff line
@@ -918,7 +918,6 @@ static int rtw89_ops_set_tid_config(struct ieee80211_hw *hw,

const struct ieee80211_ops rtw89_ops = {
	.tx			= rtw89_ops_tx,
	.wake_tx_queue		= ieee80211_handle_wake_tx_queue,
	.wake_tx_queue		= rtw89_ops_wake_tx_queue,
	.start			= rtw89_ops_start,
	.stop			= rtw89_ops_stop,