sprintf(desc, "mixed WPA/WPA2 %s (%s)",
iwinfo_crypto_print_suites(c->auth_suites),
iwinfo_crypto_print_ciphers(
- c->pair_ciphers & c->group_ciphers));
+ c->pair_ciphers | c->group_ciphers));
break;
case 2:
sprintf(desc, "WPA2 %s (%s)",
iwinfo_crypto_print_suites(c->auth_suites),
iwinfo_crypto_print_ciphers(
- c->pair_ciphers & c->group_ciphers));
+ c->pair_ciphers | c->group_ciphers));
break;
case 1:
sprintf(desc, "WPA %s (%s)",
iwinfo_crypto_print_suites(c->auth_suites),
iwinfo_crypto_print_ciphers(
- c->pair_ciphers & c->group_ciphers));
+ c->pair_ciphers | c->group_ciphers));
break;
}
}