summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-07 22:05:41 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-04-07 22:05:41 +0000
commit3a0e6c06e9a8dc461d9791448d784d9bf962e57d (patch)
tree1c8de5fa35c8f3f7d585532f751a474084dc5a15 /package/mac80211
parentb5a27f260bb5355e9d7f1bb91849913cff6ce84e (diff)
downloadmtk-20170518-3a0e6c06e9a8dc461d9791448d784d9bf962e57d.zip
mtk-20170518-3a0e6c06e9a8dc461d9791448d784d9bf962e57d.tar.gz
mtk-20170518-3a0e6c06e9a8dc461d9791448d784d9bf962e57d.tar.bz2
ath9k_htc: accept firmware versions newer than 1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36266
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/300-pending_work.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mac80211/patches/300-pending_work.patch b/package/mac80211/patches/300-pending_work.patch
index ee4232d..7558c3d 100644
--- a/package/mac80211/patches/300-pending_work.patch
+++ b/package/mac80211/patches/300-pending_work.patch
@@ -1025,3 +1025,14 @@
void ieee80211_recalc_idle(struct ieee80211_local *local);
void ieee80211_adjust_monitor_flags(struct ieee80211_sub_if_data *sdata,
const int offset);
+--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
++++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
+@@ -799,7 +799,7 @@ static int ath9k_init_firmware_version(s
+ * 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;