]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix OLBC non-HT AP detection to check channel
authorJouni Malinen <j@w1.fi>
Sat, 30 Mar 2013 16:05:18 +0000 (18:05 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 30 Mar 2013 16:05:18 +0000 (18:05 +0200)
commita5f61b2b87ceffec517e3baf531a466940dbd0b7
treec0b1dff1d59f29eff64e85c5774555d0e8313fd4
parent69554d78f6b8778c66ab688617225e62983c50fa
Fix OLBC non-HT AP detection to check channel

A non-HT capable AP on any channel could have triggered us to enable
protection regardless of own operating channel if the driver delivered
Beacon frames from other channels. The channel detection in ap_list is
not exactly ideal, but most cases can be handled by checking ap->channel
against the currently configured channel (or secondary channel in case
of HT40).

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/ap_list.c