build fix: fix wrong conversation of ath_vap_target to ieee80211vap_target
authorOleksij Rempel <linux@rempel-privat.de>
Fri, 29 Mar 2013 08:07:45 +0000 (09:07 +0100)
committerOleksij Rempel <linux@rempel-privat.de>
Sat, 30 Mar 2013 16:27:48 +0000 (17:27 +0100)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/wlan/if_ath.c

index e3ee4511516a9e779ed61397cd9cb27484e894fb..a01818ab1820fdc359683effe7941993f66f3492 100755 (executable)
@@ -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));