3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-23 22:42:37 +01:00

unit: Update scan_get_security usage to new API

This commit is contained in:
Denis Kenzior 2018-05-24 16:02:04 -05:00
parent 4c59569f0c
commit 5616962bb2
2 changed files with 3 additions and 3 deletions

View File

@ -266,7 +266,7 @@ unit_test_ssid_to_utf8_SOURCES = src/util.h src/util.c \
unit_test_ssid_to_utf8_LDADD = ell/libell-internal.la
unit_test_ssid_security_SOURCES = unit/test-ssid-security.c src/ie.h src/ie.c \
src/scan.h src/scan.c
src/common.h src/common.c
unit_test_ssid_security_LDADD = ell/libell-internal.la
unit_test_wsc_SOURCES = unit/test-wsc.c src/wscutil.h src/wscutil.c \

View File

@ -30,8 +30,8 @@
#include <ell/ell.h>
#include "src/iwd.h"
#include "src/common.h"
#include "src/ie.h"
#include "src/scan.h"
struct test_data {
unsigned char *rsne;
@ -105,7 +105,7 @@ static void ssid_security_test(const void *data)
} else
infop = NULL;
assert(scan_get_security(test->capability, infop) == test->expected);
assert(security_determine(test->capability, infop) == test->expected);
}
int main(int argc, char *argv[])