SME: Correctly check mode HT caps for enabling OBSS scan
authorArik Nemtsov <arik@wizery.com>
Sat, 11 Aug 2012 14:08:54 +0000 (17:08 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 11 Aug 2012 14:08:54 +0000 (17:08 +0300)
commitb6871ebb1735e86ef02d59318d790f336844e822
treef49eb124993e3628f50dd65ae18138e3b38182c1
parent8dba4aef11053bcaf6529fc0902487d077663285
SME: Correctly check mode HT caps for enabling OBSS scan

Don't assume the 11g mode is always first in the list of mode (sometimes
it isn't). Traverse the array of modes and check the HT40 capability is
turned on for 11g.

Signed-hostap: Arik Nemtsov <arik@wizery.com>
wpa_supplicant/sme.c