]> Pileus Git - ~andy/linux/commit
wlcore: fix started_vifs calculation
authorEliad Peller <eliad@wizery.com>
Mon, 9 Sep 2013 09:24:43 +0000 (12:24 +0300)
committerLuciano Coelho <luciano.coelho@intel.com>
Wed, 23 Oct 2013 06:47:44 +0000 (09:47 +0300)
commite9687ea9caaf9f961df8144a95ca63ec77c02b49
tree585f51e22d1d20ccc7e559235cb64b350ce51e83
parent2473ec8f909d8c46e52e13f6fc3215c9c08400c8
wlcore: fix started_vifs calculation

wlcore configures different dwell times according to number
of active interfaces (in order to prevent hurting VO during
scan).

However, determining active vif only according to
bss_conf->idle is not explicit enough, and might result
in non-started vifs being counted as started as well
(e.g. unassociated sta during sta).

Fix it by checking for explicit conditions according
to the vif type.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
drivers/net/wireless/ti/wlcore/scan.c