diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-10-21 18:32:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-10-21 18:32:21 +0000 |
commit | ec5ef50a1fd29327b0ceac47c6acfa493ba2c782 (patch) | |
tree | a86fd730cb0fbf95d5e511d4ef149b4ed2d4b0a3 /sys/dev | |
parent | 69ddb3e15592f043968cc6be1ca9798631bdaaf5 (diff) |
some extra const disease damien was testing slipped in; ok damien
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/if_zyd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/usb/if_zyd.c b/sys/dev/usb/if_zyd.c index 9ea6658e83d..0f4c1f94d4b 100644 --- a/sys/dev/usb/if_zyd.c +++ b/sys/dev/usb/if_zyd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_zyd.c,v 1.28 2006/10/21 18:18:50 damien Exp $ */ +/* $OpenBSD: if_zyd.c,v 1.29 2006/10/21 18:32:20 deraadt Exp $ */ /*- * Copyright (c) 2006 by Damien Bergamini <damien.bergamini@free.fr> @@ -151,7 +151,7 @@ int zyd_set_bssid(struct zyd_softc *, const uint8_t *); int zyd_switch_radio(struct zyd_softc *, int); int zyd_set_rxfilter(struct zyd_softc *); void zyd_set_chan(struct zyd_softc *, - const struct ieee80211_channel *); + struct ieee80211_channel *); int zyd_set_beacon_interval(struct zyd_softc *, int); uint8_t zyd_plcp_signal(int); void zyd_intr(usbd_xfer_handle, usbd_private_handle, usbd_status); @@ -1152,7 +1152,7 @@ zyd_set_rxfilter(struct zyd_softc *sc) } void -zyd_set_chan(struct zyd_softc *sc, const struct ieee80211_channel *c) +zyd_set_chan(struct zyd_softc *sc, struct ieee80211_channel *c) { struct ieee80211com *ic = &sc->sc_ic; struct zyd_rf *rf = &sc->sc_rf; @@ -1230,8 +1230,8 @@ zyd_intr(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) cmd = (const struct zyd_cmd *)sc->ibuf; if (letoh16(cmd->code) == ZYD_NOTIF_RETRYSTATUS) { - const struct zyd_notif_retry *retry = - (const struct zyd_notif_retry *)cmd->data; + struct zyd_notif_retry *retry = + (struct zyd_notif_retry *)cmd->data; struct ieee80211com *ic = &sc->sc_ic; struct ifnet *ifp = &ic->ic_if; struct ieee80211_node *ni; @@ -1282,7 +1282,7 @@ zyd_rx_data(struct zyd_softc *sc, const uint8_t *buf, uint16_t len) struct ieee80211com *ic = &sc->sc_ic; struct ifnet *ifp = &ic->ic_if; struct ieee80211_node *ni; - const struct ieee80211_frame *wh; + struct ieee80211_frame *wh; const struct zyd_plcphdr *plcp; const struct zyd_rx_stat *stat; struct mbuf *m; @@ -1358,7 +1358,7 @@ zyd_rx_data(struct zyd_softc *sc, const uint8_t *buf, uint16_t len) #endif s = splnet(); - wh = mtod(m, const struct ieee80211_frame *); + wh = mtod(m, struct ieee80211_frame *); ni = ieee80211_find_rxnode(ic, wh); ieee80211_input(ifp, m, ni, stat->rssi, 0); |