]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ath9k: remove fragmentation workaround again
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 9 Dec 2008 11:26:14 +0000 (12:26 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Dec 2008 19:01:31 +0000 (14:01 -0500)
Looking at the RC algorithm this is no longer necessary.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/main.c

index ebd531e574ff34868b4211368fad800be8a7bfa2..9455a6939876a4f3bf4ec1dfaefe4e04ae4fae7f 100644 (file)
@@ -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 {