mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-08 05:14:09 +01:00
wiphy: Also print whether we support BIP
This commit is contained in:
parent
85db443b37
commit
13f83fda81
@ -140,8 +140,7 @@ static void wiphy_print_basic_info(struct wiphy *wiphy)
|
|||||||
l_info("%s", buf);
|
l_info("%s", buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wiphy->pairwise_ciphers &
|
if (wiphy->pairwise_ciphers) {
|
||||||
(IE_RSN_CIPHER_SUITE_CCMP | IE_RSN_CIPHER_SUITE_TKIP)) {
|
|
||||||
int len = 0;
|
int len = 0;
|
||||||
|
|
||||||
len += sprintf(buf + len, "\tCiphers:");
|
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)
|
if (wiphy->pairwise_ciphers & IE_RSN_CIPHER_SUITE_TKIP)
|
||||||
len += sprintf(buf + len, " TKIP");
|
len += sprintf(buf + len, " TKIP");
|
||||||
|
|
||||||
|
if (wiphy->pairwise_ciphers & IE_RSN_CIPHER_SUITE_BIP)
|
||||||
|
len += sprintf(buf + len, " BIP");
|
||||||
|
|
||||||
l_info("%s", buf);
|
l_info("%s", buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user