diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-08-11 02:14:15 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-08-11 02:14:15 +0000 |
commit | a1c54778229546472933228d51e63907688ad3de (patch) | |
tree | d508d61558bd2b82d85156742556ad271e7a39ad /package/madwifi/patches/438-poweroffset_sysctl.patch | |
parent | 27da9d1984e2c7eb45d00cb288b6063a8ff47170 (diff) | |
download | mtk-20170518-a1c54778229546472933228d51e63907688ad3de.zip mtk-20170518-a1c54778229546472933228d51e63907688ad3de.tar.gz mtk-20170518-a1c54778229546472933228d51e63907688ad3de.tar.bz2 |
madwifi: fix compile error on kernels without net_device api compatibility
SVN-Revision: 17219
Diffstat (limited to 'package/madwifi/patches/438-poweroffset_sysctl.patch')
-rw-r--r-- | package/madwifi/patches/438-poweroffset_sysctl.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/madwifi/patches/438-poweroffset_sysctl.patch b/package/madwifi/patches/438-poweroffset_sysctl.patch index 662f2b0..9d5e71f 100644 --- a/package/madwifi/patches/438-poweroffset_sysctl.patch +++ b/package/madwifi/patches/438-poweroffset_sysctl.patch @@ -1,6 +1,6 @@ --- a/ath/if_ath.c +++ b/ath/if_ath.c -@@ -10474,11 +10474,11 @@ set_node_txpower(void *arg, struct ieee8 +@@ -10473,11 +10473,11 @@ set_node_txpower(void *arg, struct ieee8 * XXX: this function needs some locking to avoid being called * twice/interrupted. Returns the value actually stored. */ static u_int32_t @@ -16,7 +16,7 @@ return ath_get_clamped_maxtxpower(sc); } -@@ -11029,6 +11029,7 @@ enum { +@@ -11028,6 +11028,7 @@ enum { ATH_DEBUG, ATH_TXANTENNA, ATH_RXANTENNA, @@ -24,7 +24,7 @@ ATH_DIVERSITY, ATH_TXINTRPERIOD, ATH_FFTXQMIN, -@@ -11309,6 +11310,9 @@ ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl +@@ -11308,6 +11309,9 @@ ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl ath_debug_global = (val & ATH_DEBUG_GLOBAL); #endif break; @@ -34,7 +34,7 @@ case ATH_TXANTENNA: /* * antenna can be: -@@ -11476,6 +11480,9 @@ ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl +@@ -11475,6 +11479,9 @@ ATH_SYSCTL_DECL(ath_sysctl_halparam, ctl case ATH_DEBUG: val = sc->sc_debug | ath_debug_global; break; @@ -44,7 +44,7 @@ case ATH_TXANTENNA: val = sc->sc_txantenna; break; -@@ -11617,6 +11624,12 @@ static const ctl_table ath_sysctl_templa +@@ -11616,6 +11623,12 @@ static const ctl_table ath_sysctl_templa }, #endif { .ctl_name = CTL_AUTO, |