Lines 3948-3956
Link Here
|
3948 |
static void |
3948 |
static void |
3949 |
run_update_beacon(struct ieee80211vap *vap, int item) |
3949 |
run_update_beacon(struct ieee80211vap *vap, int item) |
3950 |
{ |
3950 |
{ |
|
|
3951 |
if (vap == NULL) |
3952 |
return; |
3951 |
struct ieee80211com *ic = vap->iv_ic; |
3953 |
struct ieee80211com *ic = vap->iv_ic; |
|
|
3954 |
if (ic == NULL) |
3955 |
return; |
3956 |
if (ic->ic_ifp == NULL) |
3957 |
return; |
3952 |
struct run_softc *sc = ic->ic_ifp->if_softc; |
3958 |
struct run_softc *sc = ic->ic_ifp->if_softc; |
|
|
3959 |
if (sc == NULL) |
3960 |
return; |
3953 |
struct run_vap *rvp = RUN_VAP(vap); |
3961 |
struct run_vap *rvp = RUN_VAP(vap); |
|
|
3962 |
if (rvp == NULL) |
3963 |
return; |
3954 |
int mcast = 0; |
3964 |
int mcast = 0; |
3955 |
uint32_t i; |
3965 |
uint32_t i; |
3956 |
|
3966 |
|
Lines 3971-3976
Link Here
|
3971 |
} |
3981 |
} |
3972 |
|
3982 |
|
3973 |
setbit(rvp->bo.bo_flags, item); |
3983 |
setbit(rvp->bo.bo_flags, item); |
|
|
3984 |
if (rvp->beacon_mbuf == NULL) { |
3985 |
rvp->beacon_mbuf = ieee80211_beacon_alloc(vap->iv_bss, |
3986 |
&rvp->bo); |
3987 |
if (rvp->beacon_mbuf == NULL) |
3988 |
return; |
3989 |
} |
3974 |
ieee80211_beacon_update(vap->iv_bss, &rvp->bo, rvp->beacon_mbuf, mcast); |
3990 |
ieee80211_beacon_update(vap->iv_bss, &rvp->bo, rvp->beacon_mbuf, mcast); |
3975 |
|
3991 |
|
3976 |
i = RUN_CMDQ_GET(&sc->cmdq_store); |
3992 |
i = RUN_CMDQ_GET(&sc->cmdq_store); |