1c1
< /* $FreeBSD: head/sys/dev/ral/rt2560.c 172060 2007-09-05 23:00:27Z sam $ */
---
> /* $FreeBSD: head/sys/dev/ral/rt2560.c 172211 2007-09-17 19:07:24Z sam $ */
21c21
< __FBSDID("$FreeBSD: head/sys/dev/ral/rt2560.c 172060 2007-09-05 23:00:27Z sam $");
---
> __FBSDID("$FreeBSD: head/sys/dev/ral/rt2560.c 172211 2007-09-17 19:07:24Z sam $");
107a108
> static void rt2560_beacon_update(struct ieee80211com *, int item);
303a305
> ic->ic_update_beacon = rt2560_beacon_update;
783c785
< m = ieee80211_beacon_alloc(ic, ni, &sc->sc_bo);
---
> m = ieee80211_beacon_alloc(ni, &sc->sc_bo);
1279a1282,1290
> static void
> rt2560_beacon_update(struct ieee80211com *ic, int item)
> {
> struct rt2560_softc *sc = ic->ic_ifp->if_softc;
> struct ieee80211_beacon_offsets *bo = &sc->sc_bo;
>
> setbit(bo->bo_flags, item);
> }
>
1304c1315
< ieee80211_beacon_update(ic, data->ni, &sc->sc_bo, data->m, 1);
---
> ieee80211_beacon_update(data->ni, &sc->sc_bo, data->m, 1);
< /* $FreeBSD: head/sys/dev/ral/rt2560.c 172060 2007-09-05 23:00:27Z sam $ */
---
> /* $FreeBSD: head/sys/dev/ral/rt2560.c 172211 2007-09-17 19:07:24Z sam $ */
21c21
< __FBSDID("$FreeBSD: head/sys/dev/ral/rt2560.c 172060 2007-09-05 23:00:27Z sam $");
---
> __FBSDID("$FreeBSD: head/sys/dev/ral/rt2560.c 172211 2007-09-17 19:07:24Z sam $");
107a108
> static void rt2560_beacon_update(struct ieee80211com *, int item);
303a305
> ic->ic_update_beacon = rt2560_beacon_update;
783c785
< m = ieee80211_beacon_alloc(ic, ni, &sc->sc_bo);
---
> m = ieee80211_beacon_alloc(ni, &sc->sc_bo);
1279a1282,1290
> static void
> rt2560_beacon_update(struct ieee80211com *ic, int item)
> {
> struct rt2560_softc *sc = ic->ic_ifp->if_softc;
> struct ieee80211_beacon_offsets *bo = &sc->sc_bo;
>
> setbit(bo->bo_flags, item);
> }
>
1304c1315
< ieee80211_beacon_update(ic, data->ni, &sc->sc_bo, data->m, 1);
---
> ieee80211_beacon_update(data->ni, &sc->sc_bo, data->m, 1);