]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ath9k_htc: accept 1.x firmware newer than 1.3
authorFelix Fietkau <nbd@openwrt.org>
Sun, 7 Apr 2013 19:10:48 +0000 (21:10 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 25 Apr 2013 19:25:40 +0000 (20:25 +0100)
commit 319e7bd96aca64a478f3aad40711c928405b8b77 upstream.

Since the firmware has been open sourced, the minor version has been
bumped to 1.4 and the API/ABI will stay compatible across further 1.x
releases.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/wireless/ath/ath9k/htc_drv_init.c

index 966661c9e58697f2040f2ba1e94e20817dd9a166..84890d5c481458dc2b03fb221458568d911c6424 100644 (file)
@@ -801,7 +801,7 @@ static int ath9k_init_firmware_version(struct ath9k_htc_priv *priv)
         * required version.
         */
        if (priv->fw_version_major != MAJOR_VERSION_REQ ||
-           priv->fw_version_minor != MINOR_VERSION_REQ) {
+           priv->fw_version_minor < MINOR_VERSION_REQ) {
                dev_err(priv->dev, "ath9k_htc: Please upgrade to FW version %d.%d\n",
                        MAJOR_VERSION_REQ, MINOR_VERSION_REQ);
                return -EINVAL;