eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 993d9cbf6b5cf8eed7b823c4fb6bcbeb32822b41
parent b406a57ca4ede069ce1dccd96c0fa9d30ad03ae7
Author: James Prestwood <james.prestwood@linux.intel.com>
Date:   Fri, 12 Jul 2019 15:23:31 -0700

station: check hs20_capable first before ANQP

If a BSS is not a hotspot 2.0 BSS then there is no reason to bother
checking configuration files.

Diffstat:
Msrc/station.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/station.c b/src/station.c @@ -457,6 +457,9 @@ static bool station_start_anqp(struct station *station, struct network *network, struct anqp_entry *entry; bool anqp_disabled = true; + if (!bss->hs20_capable) + return false; + /* Network already has ANQP data/HESSID */ if (hs20_find_settings_file(network)) return false; @@ -469,9 +472,6 @@ static bool station_start_anqp(struct station *station, struct network *network, return false; } - if (!bss->hs20_capable) - return false; - entry = l_new(struct anqp_entry, 1); entry->station = station; entry->network = network;