]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wlantest: Fix source address for FromDS frames
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 14 Mar 2011 19:35:14 +0000 (21:35 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 14 Mar 2011 19:35:14 +0000 (21:35 +0200)
wlantest/rx_data.c

index 57f871ccd51dbc2d0850bcd8422f36f2ccc60187..36b0459454c900359e511e890016799e73e31350 100644 (file)
@@ -506,7 +506,7 @@ void rx_data(struct wlantest *wt, const u8 *data, size_t len)
                           MAC2STR(hdr->addr1), MAC2STR(hdr->addr2),
                           MAC2STR(hdr->addr3));
                add_ap_path(wt, hdr->addr2, hdr->addr1, hdr->addr3);
-               rx_data_bss(wt, hdr, qos, hdr->addr1, hdr->addr2,
+               rx_data_bss(wt, hdr, qos, hdr->addr1, hdr->addr3,
                            data + hdrlen, len - hdrlen);
                break;
        case WLAN_FC_TODS: