]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
wpa_supplicant: Extend verify_channel() and make it global
authorAvraham Stern <avraham.stern@intel.com>
Wed, 28 Dec 2016 13:06:44 +0000 (15:06 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 3 Jan 2017 13:18:29 +0000 (15:18 +0200)
commit1ac4dba31a67d3133a6657ff5382c71d96ebf5ad
treea3821a5e7b6615f159e9b33e0902fc75b310a4d6
parentc9ff8e5f6ed785f0642752668d44ef5520e9a172
wpa_supplicant: Extend verify_channel() and make it global

Extend verify_channel() to return whether IR is allowed on the channel
or not, and make it a global function so it can be used in other files,
too. This makes this function useful for checking not only if a channel
is supported but also if it is allowed for active and passive scan.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
wpa_supplicant/op_classes.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant_i.h