From: Oleksij Rempel Date: Fri, 29 Mar 2013 08:07:45 +0000 (+0100) Subject: build fix: fix wrong conversation of ath_vap_target to ieee80211vap_target X-Git-Tag: 1.3.2~12^2~2 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=db1c609404a2771b7d7e53569e16d2a288634d7a;p=open-ath9k-htc-firmware.git build fix: fix wrong conversation of ath_vap_target to ieee80211vap_target Signed-off-by: Oleksij Rempel --- 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));