mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-15 03:14:50 +00:00
ath9k_htc: accept firmware versions newer than 1.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36266
This commit is contained in:
parent
b5a27f260b
commit
3a0e6c06e9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user