]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: compare ssid_len before comparing ssids
authorEliad Peller <eliad@wizery.com>
Tue, 15 May 2012 15:31:58 +0000 (18:31 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 6 Jun 2012 16:33:28 +0000 (19:33 +0300)
commit95835b5596680c383c161103c2f5d43c67aecda3
tree2cc4acb16f33851fda51222afc902a126848a566
parent57a2bfe64e2035ea7fbece17f480f55b1e3ef355
wlcore: compare ssid_len before comparing ssids

When comparing 2 ssids the ssid_len must be taken
into account. Otherwise, a substring will be treated
as equal.

This bug might cause ssids to get scanned as
public ssids (rather than hidden), resulting in
broadcast probe request (instead of ssid-specific
ones)

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