ath9k_hw: fix device ID check for AR956x
[cascardo/linux.git] / drivers / net / wireless / ath / ath9k / hw.c
index 5e15e8e..a31a680 100644 (file)
@@ -279,6 +279,7 @@ static void ath9k_hw_read_revisions(struct ath_hw *ah)
                return;
        case AR9300_DEVID_QCA956X:
                ah->hw_version.macVersion = AR_SREV_VERSION_9561;
+               return;
        }
 
        val = REG_READ(ah, AR_SREV) & AR_SREV_ID;