<div dir="ltr">Fixed bug in identifying the RSN attribute. In some case the proto field
might have value - RSN|WPA in which case this check fails.<br><br>Signed-off-by: Shyam <<a href="mailto:shyam.kyo@gmail.com">shyam.kyo@gmail.com</a>><br>---<br> wpa_supplicant/hs20_supplicant.c | 2 +-<br> 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>diff --git a/wpa_supplicant/hs20_supplicant.c b/wpa_supplicant/hs20_supplicant.c<br>index 257aa6d..c1c3591 100644<br>--- a/wpa_supplicant/hs20_supplicant.c<br>+++ b/wpa_supplicant/hs20_supplicant.c<br>@@ -98,7 +98,7 @@ int is_hs20_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,<br>
return 0;<br> if (!(ssid->pairwise_cipher & WPA_CIPHER_CCMP))<br> return 0;<br>- if (ssid->proto != WPA_PROTO_RSN)<br>+ if (!(ssid->proto & WPA_PROTO_RSN))<br> return 0;<br>
<br> return 1;<br>-- <br>1.7.9.5<br></div>