mac80211: fix suppressing probe responses in ad-hoc mode
authorFelix Fietkau <nbd@openwrt.org>
Thu, 24 Mar 2011 18:46:18 +0000 (19:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Apr 2011 20:19:59 +0000 (16:19 -0400)
commit1ed76487ce115110171480deabd3cd4656f9803e
tree0c3b1dd5703baf325a17d8b9b2be921a094c887f
parent2638126a7c7cce87d51ae5d3bfaca9350503c0b4
mac80211: fix suppressing probe responses in ad-hoc mode

The commit "mac80211: reply to directed probes in IBSS" changed ad-hoc
specific code to respond to unicast probe requests, even if
drv_tx_last_beacon returns false, however due to confusion over the
meaning of the IEEE80211_RX_RA_MATCH flag, it also unconditionally
enabled responding to multicast probe requests.
Fix this by explicitly checking for a multicast destination address
instead.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c