From 2562cde3ef7a4f658752c2be4512db2a15fbb35d Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Wed, 23 Sep 2009 13:32:22 +0000
Subject: madwifi: fix maximum txpower display

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17687 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/madwifi/patches/421-channel_handling.patch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'package/madwifi/patches/421-channel_handling.patch')

diff --git a/package/madwifi/patches/421-channel_handling.patch b/package/madwifi/patches/421-channel_handling.patch
index c60cc9c3c..e5302c138 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;
  }
  
-- 
cgit v1.2.3