fix typo that broke AP scanning by BSSID

Submitted by:	Len Widra
This commit is contained in:
Sam Leffler 2003-11-09 23:36:46 +00:00
parent 3534a08109
commit bca1062ba5

View File

@ -337,8 +337,7 @@ ieee80211_end_scan(struct ifnet *ifp)
fail |= 0x08;
if (ic->ic_des_esslen != 0 &&
(ni->ni_esslen != ic->ic_des_esslen ||
memcmp(ni->ni_essid, ic->ic_des_essid,
ic->ic_des_esslen != 0)))
memcmp(ni->ni_essid, ic->ic_des_essid, ic->ic_des_esslen) != 0))
fail |= 0x10;
if ((ic->ic_flags & IEEE80211_F_DESBSSID) &&
!IEEE80211_ADDR_EQ(ic->ic_des_bssid, ni->ni_bssid))