wl12xx: remove P2P ie from probe response
authorEliad Peller <eliad@wizery.com>
Thu, 15 Sep 2011 09:07:05 +0000 (12:07 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 23 Sep 2011 11:38:47 +0000 (14:38 +0300)
commit26b4bf2e0f0dbafa4dd575b03ffcb12710ef5611
treea64b3882e02f2ca062e9a446d6fd46772c1ea5fa
parentd48055d9fc730a7389bac782f98a96de763129e3
wl12xx: remove P2P ie from probe response

wl12xx uses a single probe response template, regardless of
the probe request.
However, the P2P spec forbids including the p2p ie in some
cases (e.g. the probe request didn't include the p2p ie).

The fw responds only to probe requests that don't
include the p2p ie, and passes up probe requests that
include them (the supplicant will answer them).

Thus, strip the p2p ie from the probe response template.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c