From 13f83fda8199782bbff284624225ad75cb13a2ea Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 24 Oct 2016 21:25:04 -0500 Subject: [PATCH] wiphy: Also print whether we support BIP --- src/wiphy.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wiphy.c b/src/wiphy.c index 7017c417..661ea73c 100644 --- a/src/wiphy.c +++ b/src/wiphy.c @@ -140,8 +140,7 @@ static void wiphy_print_basic_info(struct wiphy *wiphy) l_info("%s", buf); } - if (wiphy->pairwise_ciphers & - (IE_RSN_CIPHER_SUITE_CCMP | IE_RSN_CIPHER_SUITE_TKIP)) { + if (wiphy->pairwise_ciphers) { int len = 0; len += sprintf(buf + len, "\tCiphers:"); @@ -152,6 +151,9 @@ static void wiphy_print_basic_info(struct wiphy *wiphy) if (wiphy->pairwise_ciphers & IE_RSN_CIPHER_SUITE_TKIP) len += sprintf(buf + len, " TKIP"); + if (wiphy->pairwise_ciphers & IE_RSN_CIPHER_SUITE_BIP) + len += sprintf(buf + len, " BIP"); + l_info("%s", buf); } }