]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/net/wireless/ath/ath9k/main.c
ath9k: allow setting arbitrary antenna masks on AR9003+
[~shefty/rdma-dev.git] / drivers / net / wireless / ath / ath9k / main.c
index 3796e65c26f1fb157e2075be0b6ae4ce2b5f8cac..dd91f8fdc01c3ea44c922bbbbd14bee2df4fd6db 100644 (file)
@@ -1826,6 +1826,9 @@ static u32 fill_chainmask(u32 cap, u32 new)
 
 static bool validate_antenna_mask(struct ath_hw *ah, u32 val)
 {
+       if (AR_SREV_9300_20_OR_LATER(ah))
+               return true;
+
        switch (val & 0x7) {
        case 0x1:
        case 0x3: