summaryrefslogtreecommitdiff
path: root/package/kernel/mac80211/patches/005-make-genregdb.awk-skip-antenna-gain.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/mac80211/patches/005-make-genregdb.awk-skip-antenna-gain.patch')
-rw-r--r--package/kernel/mac80211/patches/005-make-genregdb.awk-skip-antenna-gain.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/kernel/mac80211/patches/005-make-genregdb.awk-skip-antenna-gain.patch b/package/kernel/mac80211/patches/005-make-genregdb.awk-skip-antenna-gain.patch
index 5ee2d14b18..55bffbc451 100644
--- a/package/kernel/mac80211/patches/005-make-genregdb.awk-skip-antenna-gain.patch
+++ b/package/kernel/mac80211/patches/005-make-genregdb.awk-skip-antenna-gain.patch
@@ -32,10 +32,10 @@ Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
+ units = $7
sub(/\)/, "", units)
sub(/,/, "", units)
- if (units == "mW") {
-@@ -80,7 +77,7 @@ function parse_reg_rule()
- }
- }
+ dfs_cac = $9
+@@ -86,7 +83,7 @@ function parse_reg_rule()
+ sub(/\(/, "", dfs_cac)
+ sub(/\)/, "", dfs_cac)
flagstr = ""
- for (i=8; i<=NF; i++)
+ for (i=7; i<=NF; i++)