summaryrefslogtreecommitdiffstats
path: root/sys/dev/ipw
diff options
context:
space:
mode:
authorbschmidt <bschmidt@FreeBSD.org>2010-04-17 18:13:52 +0000
committerbschmidt <bschmidt@FreeBSD.org>2010-04-17 18:13:52 +0000
commitb4bea4d3f4b2289631cccab1c2f919c1fbb73b51 (patch)
tree69c1bf5150f46e3a5afa23500153b7f31162a6ee /sys/dev/ipw
parent06e8a2d9cc07fd9f1ac05866b936f2e78cc458ec (diff)
downloadFreeBSD-src-b4bea4d3f4b2289631cccab1c2f919c1fbb73b51.zip
FreeBSD-src-b4bea4d3f4b2289631cccab1c2f919c1fbb73b51.tar.gz
Fix comment about ipw_assoc and remove some whitespaces; no functional
changes. Approved by: rpaulo (mentor)
Diffstat (limited to 'sys/dev/ipw')
-rw-r--r--sys/dev/ipw/if_ipw.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c
index 0b21758..dc2a61f 100644
--- a/sys/dev/ipw/if_ipw.c
+++ b/sys/dev/ipw/if_ipw.c
@@ -888,10 +888,10 @@ ipw_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
/*
* XXX when joining an ibss network we are called
* with a SCAN -> RUN transition on scan complete.
- * Use that to call ipw_auth_and_assoc. On completing
- * the join we are then called again with an
- * AUTH -> RUN transition and we want to do nothing.
- * This is all totally bogus and needs to be redone.
+ * Use that to call ipw_assoc. On completing the
+ * join we are then called again with an AUTH -> RUN
+ * transition and we want to do nothing. This is
+ * all totally bogus and needs to be redone.
*/
if (ostate == IEEE80211_S_SCAN)
ipw_assoc(ic, vap);
@@ -909,7 +909,7 @@ ipw_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
case IEEE80211_S_ASSOC:
/*
- * If we are not transitioning from AUTH the resend the
+ * If we are not transitioning from AUTH then resend the
* association request.
*/
if (ostate != IEEE80211_S_AUTH)
@@ -1070,7 +1070,7 @@ ipw_rx_newstate_intr(struct ipw_softc *sc, struct ipw_soft_buf *sbuf)
case IPW_STATE_DISABLED:
/* XXX? is this right? */
- sc->flags &= ~(IPW_FLAG_HACK | IPW_FLAG_SCANNING |
+ sc->flags &= ~(IPW_FLAG_HACK | IPW_FLAG_SCANNING |
IPW_FLAG_ASSOCIATING | IPW_FLAG_ASSOCIATED);
DPRINTFN(2, ("Firmware disabled (%s flags 0x%x)\n",
IEEESTATE(vap), sc->flags));
OpenPOWER on IntegriCloud