gsupplicant: Return max SSIDs to scan given by wpa_supplicant
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 8 Jan 2013 09:32:51 +0000 (11:32 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 11 Jan 2013 13:34:04 +0000 (15:34 +0200)
commitb21b221772b4772ae3e9a885effda233cf79b997
tree6f61964ffb7d5cecefe9bc998bc6d6eac5bdc9fb
parentc388d1adeb003f84a7439f8c53b3a159f6d2ffdd
gsupplicant: Return max SSIDs to scan given by wpa_supplicant

Although it seems wpa_supplicant can handle 4 SSIDs in version 0.7.x
and 16 starting with 0.8.x, in practise this does not work. Return the
value reported without relying on wpa_supplicant internals to handle
the situation. In order for hidden scans to work properly, the minimum
value needs to be 1.
gsupplicant/gsupplicant.h
gsupplicant/supplicant.c