From db1c609404a2771b7d7e53569e16d2a288634d7a Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Fri, 29 Mar 2013 09:07:45 +0100 Subject: [PATCH] build fix: fix wrong conversation of ath_vap_target to ieee80211vap_target Signed-off-by: Oleksij Rempel --- target_firmware/wlan/if_ath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index e3ee451..a01818a 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -603,7 +603,7 @@ static void ath_tgt_send_beacon(struct ath_softc_tgt *sc, adf_nbuf_t bc_hdr, vap_index = bhdr->vap_index; adf_os_assert(vap_index < TARGET_VAP_MAX); - vap = &sc->sc_vap[vap_index]; + vap = &sc->sc_vap[vap_index].av_vap; wh = (struct ieee80211_frame *)adf_nbuf_pull_head(nbuf, sizeof(ath_beacon_hdr_t)); -- 2.25.1