From: Jouni Malinen Date: Sun, 16 Dec 2012 10:35:07 +0000 (+0200) Subject: wlantest: Process TX status frames as RX frames too X-Git-Tag: hostap_2_0~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44f6d554eef30acca532ca8f5ddd1c99b2204722;p=thirdparty%2Fhostap.git wlantest: Process TX status frames as RX frames too This is needed to allow capture files from the mac80211 cooked monitor mode interface to be processed properly. Without this, the locally generated frames may not get processed. Signed-hostap: Jouni Malinen --- diff --git a/wlantest/process.c b/wlantest/process.c index dc272ed29..609a23a93 100644 --- a/wlantest/process.c +++ b/wlantest/process.c @@ -331,8 +331,11 @@ void wlantest_process(struct wlantest *wt, const u8 *data, size_t len) return; if (!txflags) rx_frame(wt, frame, frame_len); - else + else { tx_status(wt, frame, frame_len, !failed); + /* Process as RX frame to support local monitor interface */ + rx_frame(wt, frame, frame_len); + } }