diff options
| author | Sam Leffler <sam@FreeBSD.org> | 2007-09-05 21:31:32 +0000 |
|---|---|---|
| committer | Sam Leffler <sam@FreeBSD.org> | 2007-09-05 21:31:32 +0000 |
| commit | 14fb6b8fe2dca7d3736d431ace232306e5afed31 (patch) | |
| tree | c7c268164c82a154ffedc62c1299e8212a8aa455 /sys/dev | |
| parent | dc60433061e9671a59402a7f18fc47bc4dd0ebd7 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/awi/awi.c | 4 | ||||
| -rw-r--r-- | sys/dev/ipw/if_ipw.c | 1 | ||||
| -rw-r--r-- | sys/dev/ral/rt2560.c | 1 | ||||
| -rw-r--r-- | sys/dev/ral/rt2661.c | 1 | ||||
| -rw-r--r-- | sys/dev/wi/if_wi.c | 2 |
5 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/awi/awi.c b/sys/dev/awi/awi.c index 33f0a906c18b..954a83175db2 100644 --- a/sys/dev/awi/awi.c +++ b/sys/dev/awi/awi.c @@ -1919,6 +1919,8 @@ awi_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) else awi_drvstate(sc, AWI_DRV_INFASSOC); break; + default: + break; } if (nstate == IEEE80211_S_INIT) { @@ -1954,6 +1956,8 @@ awi_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) case IEEE80211_S_SCAN: /* scan next */ break; + default: + break; } if (ic->ic_flags & IEEE80211_F_ASCAN) newmode = AWI_SCAN_ACTIVE; diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c index ec85e311aa9c..0be6fca4a004 100644 --- a/sys/dev/ipw/if_ipw.c +++ b/sys/dev/ipw/if_ipw.c @@ -839,6 +839,7 @@ ipw_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) case IEEE80211_S_SCAN: case IEEE80211_S_AUTH: case IEEE80211_S_ASSOC: + default: break; } diff --git a/sys/dev/ral/rt2560.c b/sys/dev/ral/rt2560.c index 678353a284ae..d799be413091 100644 --- a/sys/dev/ral/rt2560.c +++ b/sys/dev/ral/rt2560.c @@ -807,6 +807,7 @@ rt2560_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) case IEEE80211_S_SCAN: case IEEE80211_S_AUTH: case IEEE80211_S_ASSOC: + default: break; } diff --git a/sys/dev/ral/rt2661.c b/sys/dev/ral/rt2661.c index 533d2c5b0342..fde5738c47e7 100644 --- a/sys/dev/ral/rt2661.c +++ b/sys/dev/ral/rt2661.c @@ -821,6 +821,7 @@ rt2661_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) case IEEE80211_S_SCAN: case IEEE80211_S_AUTH: case IEEE80211_S_ASSOC: + default: break; } diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index efa7e4a26b29..aa716277ae75 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -3009,6 +3009,8 @@ wi_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) memcpy(ni->ni_essid, ssid.wi_ssid, ni->ni_esslen); } return (*sc->sc_newstate)(ic, nstate, arg); + default: + break; } return 0; } |
