projects
/
12.09
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AA: mac80211: sync with trunk r41113
[12.09/openwrt.git]
/
package
/
mac80211
/
patches
/
523-ath9k_use_configured_antenna_gain.patch
diff --git
a/package/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch
b/package/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch
index
30aa9ee
..
0b28ab8
100644
(file)
--- a/
package/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch
+++ b/
package/mac80211/patches/523-ath9k_use_configured_antenna_gain.patch
@@
-1,6
+1,6
@@
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
-@@ -
74,6 +74
,7 @@ struct ath_regulatory {
+@@ -
83,6 +83
,7 @@ struct ath_regulatory {
u16 max_power_level;
u16 current_rd;
int16_t power_limit;
u16 max_power_level;
u16 current_rd;
int16_t power_limit;
@@
-21,7
+21,7
@@
if (ant_gain > max_gain)
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
if (ant_gain > max_gain)
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
-@@ -1
371,7 +1371
,10 @@ static int ath9k_config(struct ieee80211
+@@ -1
405,7 +1405
,10 @@ static int ath9k_config(struct ieee80211
}
if (changed & IEEE80211_CONF_CHANGE_POWER) {
}
if (changed & IEEE80211_CONF_CHANGE_POWER) {