3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-20 04:19:25 +01:00

wiphy: Also print whether we support BIP

This commit is contained in:
Denis Kenzior 2016-10-24 21:25:04 -05:00
parent 85db443b37
commit 13f83fda81

View File

@ -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);
}
}