mac80211: Fix probe request filtering in IBSS mode
authorBenoit Papillault <benoit.papillault@free.fr>
Fri, 5 Feb 2010 00:21:03 +0000 (01:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Feb 2010 21:07:22 +0000 (16:07 -0500)
commit0da780c269957783d341fc3559e6b4c9912af7b4
tree95d36263c453aefa9c300ee659205ca2c515d24d
parent391ae22ae5726d2a8cebfa62879635c54a349642
mac80211: Fix probe request filtering in IBSS mode

We only reply to probe request if either the requested SSID is the
broadcast SSID or if the requested SSID matches our own SSID. This
latter case was not properly handled since we were replying to different
SSID with the same length as our own SSID.

Signed-off-by: Benoit Papillault <benoit.papillault@free.fr>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ibss.c