Fix AP mode 40 MHz pri/sec channel parsing in overlap determination
authorJouni Malinen <j@w1.fi>
Wed, 6 Oct 2010 11:09:44 +0000 (14:09 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 6 Oct 2010 11:09:44 +0000 (14:09 +0300)
commit416192628d2b266fee8c9ce3f566b097c7225b4c
treefddf513bffd3c19ffb0d82294b7f1661d41f340c
parent23abbe9ea7372795663b90515ffc8867ea73a222
Fix AP mode 40 MHz pri/sec channel parsing in overlap determination

The previous implementation ended up incorrectly assuming that all
40 MHz use cases have secondary channel above the primary one. Fix this
by properly masking the secondary channel offset field and checking its
value.
src/ap/hw_features.c