Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4f2a345 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

ath9k: remove fragmentation workaround again



Looking at the RC algorithm this is no longer necessary.

Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 21a49fc6
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2487,11 +2487,6 @@ static int ath9k_ampdu_action(struct ieee80211_hw *hw,
	return ret;
}

static int ath9k_no_fragmentation(struct ieee80211_hw *hw, u32 value)
{
	return -EOPNOTSUPP;
}

static struct ieee80211_ops ath9k_ops = {
	.tx 		    = ath9k_tx,
	.start 		    = ath9k_start,
@@ -2508,7 +2503,6 @@ static struct ieee80211_ops ath9k_ops = {
	.get_tsf 	    = ath9k_get_tsf,
	.reset_tsf 	    = ath9k_reset_tsf,
	.ampdu_action       = ath9k_ampdu_action,
	.set_frag_threshold = ath9k_no_fragmentation,
};

static struct {