mac80211: implement ap isolation support
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / ar9003_mac.c
index 7d111fbf8bc54175de243a1dd383c0eabd6e3ec2..37ba37481a47eea72df41a631e3b6252423b334e 100644 (file)
@@ -311,6 +311,9 @@ static void ar9003_hw_set11n_txdesc(struct ath_hw *ah, void *ds,
 {
        struct ar9003_txc *ads = (struct ar9003_txc *) ds;
 
+       if (txpower > ah->txpower_limit)
+               txpower = ah->txpower_limit;
+
        txpower += ah->txpower_indexoffset;
        if (txpower > 63)
                txpower = 63;
This page took 0.024457 seconds and 5 git commands to generate.