madwifi: refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17311 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2009-08-19 14:48:21 +00:00
parent 1884df4f4b
commit f327d9827b
5 changed files with 9 additions and 9 deletions

View File

@ -92,7 +92,7 @@
static const struct ieee80211_cipher ccmp = { static const struct ieee80211_cipher ccmp = {
.ic_name = "AES-CCM", .ic_name = "AES-CCM",
@@ -308,7 +308,7 @@ ccmp_decap(struct ieee80211_key *k, stru @@ -314,7 +314,7 @@ ccmp_decap(struct ieee80211_key *k, stru
* Verify and strip MIC from the frame. * Verify and strip MIC from the frame.
*/ */
static int static int

View File

@ -1,6 +1,6 @@
--- a/net80211/ieee80211_proto.c --- a/net80211/ieee80211_proto.c
+++ b/net80211/ieee80211_proto.c +++ b/net80211/ieee80211_proto.c
@@ -1409,7 +1409,8 @@ __ieee80211_newstate(struct ieee80211vap @@ -1415,7 +1415,8 @@ __ieee80211_newstate(struct ieee80211vap
vap->iv_state = nstate; /* state transition */ vap->iv_state = nstate; /* state transition */
del_timer(&vap->iv_mgtsend); del_timer(&vap->iv_mgtsend);
if ((vap->iv_opmode != IEEE80211_M_HOSTAP) && if ((vap->iv_opmode != IEEE80211_M_HOSTAP) &&
@ -10,7 +10,7 @@
ieee80211_cancel_scan(vap); /* background scan */ ieee80211_cancel_scan(vap); /* background scan */
ni = vap->iv_bss; /* NB: no reference held */ ni = vap->iv_bss; /* NB: no reference held */
switch (nstate) { switch (nstate) {
@@ -1451,7 +1452,8 @@ __ieee80211_newstate(struct ieee80211vap @@ -1457,7 +1458,8 @@ __ieee80211_newstate(struct ieee80211vap
} }
goto reset; goto reset;
case IEEE80211_S_SCAN: case IEEE80211_S_SCAN:
@ -20,7 +20,7 @@
goto reset; goto reset;
reset: reset:
ieee80211_reset_bss(vap); ieee80211_reset_bss(vap);
@@ -1989,7 +1991,9 @@ ieee80211_newstate(struct ieee80211vap * @@ -1995,7 +1997,9 @@ ieee80211_newstate(struct ieee80211vap *
} }
} }
} }

View File

@ -241,7 +241,7 @@
* the auto-select case; this should be redundant if the * the auto-select case; this should be redundant if the
--- a/net80211/ieee80211_proto.c --- a/net80211/ieee80211_proto.c
+++ b/net80211/ieee80211_proto.c +++ b/net80211/ieee80211_proto.c
@@ -1225,6 +1225,7 @@ ieee80211_dturbo_switch(struct ieee80211 @@ -1231,6 +1231,7 @@ ieee80211_dturbo_switch(struct ieee80211
struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
#endif #endif
struct ieee80211_channel *chan; struct ieee80211_channel *chan;
@ -249,7 +249,7 @@
chan = ieee80211_find_channel(ic, ic->ic_bsschan->ic_freq, newflags); chan = ieee80211_find_channel(ic, ic->ic_bsschan->ic_freq, newflags);
if (chan == NULL) { /* XXX should not happen */ if (chan == NULL) { /* XXX should not happen */
@@ -1243,6 +1244,9 @@ ieee80211_dturbo_switch(struct ieee80211 @@ -1249,6 +1250,9 @@ ieee80211_dturbo_switch(struct ieee80211
ic->ic_bsschan = chan; ic->ic_bsschan = chan;
ic->ic_curchan = chan; ic->ic_curchan = chan;
ic->ic_set_channel(ic); ic->ic_set_channel(ic);

View File

@ -1108,7 +1108,7 @@
nrs = &ni->ni_rates; nrs = &ni->ni_rates;
fixedrate = IEEE80211_FIXED_RATE_NONE; fixedrate = IEEE80211_FIXED_RATE_NONE;
for (i = 0; i < nrs->rs_nrates;) { for (i = 0; i < nrs->rs_nrates;) {
@@ -1401,6 +1401,7 @@ ieee80211_new_state(struct ieee80211vap @@ -1407,6 +1407,7 @@ ieee80211_new_state(struct ieee80211vap
IEEE80211_VAPS_UNLOCK_IRQ(ic); IEEE80211_VAPS_UNLOCK_IRQ(ic);
return rc; return rc;
} }

View File

@ -1136,7 +1136,7 @@
struct ieee80211com *ic = vap->iv_ic; struct ieee80211com *ic = vap->iv_ic;
struct net_device *parent = ic->ic_dev; struct net_device *parent = ic->ic_dev;
@@ -1081,7 +1081,7 @@ ieee80211_init(struct net_device *dev, i @@ -1087,7 +1087,7 @@ ieee80211_init(struct net_device *dev, i
int int
ieee80211_open(struct net_device *dev) ieee80211_open(struct net_device *dev)
{ {
@ -1145,7 +1145,7 @@
return ieee80211_init(dev, 0); return ieee80211_init(dev, 0);
} }
@@ -1125,7 +1125,7 @@ EXPORT_SYMBOL(ieee80211_start_running); @@ -1131,7 +1131,7 @@ EXPORT_SYMBOL(ieee80211_start_running);
int int
ieee80211_stop(struct net_device *dev) ieee80211_stop(struct net_device *dev)
{ {