mac80211_hwsim: Check all local addresses for TX Ack status
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 4 Dec 2009 17:10:34 +0000 (19:10 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Dec 2009 18:55:54 +0000 (13:55 -0500)
commit265dc7f0964e4df95ab57a9d1618689301d39a55
treefe34bb4005b991b21fcdf7c9046c94f77ba4295e
parent2c7e6bc9ac7cb518cf037495932d80f71a1596f2
mac80211_hwsim: Check all local addresses for TX Ack status

Since mac80211_hwsim supports multiple virtual interfaces, we need to
iterate through all active interfaces when figuring out whether there
is a match during TX Ack status checking. This fixes TX status
reporting for cases where secondary interfaces are used.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c