diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-09-23 13:32:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-09-23 13:32:22 +0000 |
commit | bbc97003109138e7f7c90ee91104317a42f9b959 (patch) | |
tree | f227195e20a0d2c9416b2a472cd29e1a4810c973 /package/madwifi/patches/421-channel_handling.patch | |
parent | a29453627d3a962384cf4ea53a12607a5d62d554 (diff) | |
download | mtk-20170518-bbc97003109138e7f7c90ee91104317a42f9b959.zip mtk-20170518-bbc97003109138e7f7c90ee91104317a42f9b959.tar.gz mtk-20170518-bbc97003109138e7f7c90ee91104317a42f9b959.tar.bz2 |
madwifi: fix maximum txpower display
SVN-Revision: 17687
Diffstat (limited to 'package/madwifi/patches/421-channel_handling.patch')
-rw-r--r-- | package/madwifi/patches/421-channel_handling.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/madwifi/patches/421-channel_handling.patch b/package/madwifi/patches/421-channel_handling.patch index c60cc9c..e5302c1 100644 --- a/package/madwifi/patches/421-channel_handling.patch +++ b/package/madwifi/patches/421-channel_handling.patch @@ -999,7 +999,7 @@ u_int16_t ic_modecaps; /* set of mode capabilities */ u_int16_t ic_curmode; /* current mode */ u_int16_t ic_lintval; /* beacon interval */ -@@ -715,6 +713,7 @@ MALLOC_DECLARE(M_80211_VAP); +@@ -714,6 +712,7 @@ MALLOC_DECLARE(M_80211_VAP); int ieee80211_ifattach(struct ieee80211com *); void ieee80211_ifdetach(struct ieee80211com *); @@ -1007,7 +1007,7 @@ int ieee80211_vap_setup(struct ieee80211com *, struct net_device *, const char *, int, int, struct ieee80211vap *); int ieee80211_vap_attach(struct ieee80211vap *, ifm_change_cb_t, ifm_stat_cb_t); -@@ -794,6 +793,23 @@ ieee80211_anyhdrspace(struct ieee80211co +@@ -793,6 +792,23 @@ ieee80211_anyhdrspace(struct ieee80211co return size; } @@ -1183,7 +1183,7 @@ if ((ic->ic_flags & IEEE80211_F_USEPROT) && --- a/net80211/ieee80211_wireless.c +++ b/net80211/ieee80211_wireless.c -@@ -2134,7 +2134,7 @@ ieee80211_ioctl_setmode(struct net_devic +@@ -2142,7 +2142,7 @@ ieee80211_ioctl_setmode(struct net_devic vap->iv_des_mode = mode; if (IS_UP_AUTO(vap)) @@ -1192,7 +1192,7 @@ retv = 0; } -@@ -4082,46 +4082,60 @@ ieee80211_ioctl_getchanlist(struct net_d +@@ -4090,46 +4090,60 @@ ieee80211_ioctl_getchanlist(struct net_d return 0; } |