HomeFreeBSD

iwlwifi: fix a bug in iwl_ssid_exist()

Description

iwlwifi: fix a bug in iwl_ssid_exist()

Rather than always comparing a given SSID to the first SSID of the
IE list, compare it to the the iterator one. That way duplicates can
be found.

Sponsored by: The FreeBSD Foundation
Approved by: re (gjb)

(cherry picked from commit ee7077f24f5b02bde8cf5c202848128f18733398)
(cherry picked from commit a513f65b92b672830c89acfa04b93c3b77d3f97d)

Details

Provenance
bzAuthored on Sep 14 2023, 5:22 PM
Parents
rG2f528e6583b4: LinuxKPI: 802.11: fix counting the number of supbands
Branches
Unknown
Tags
Unknown