wlcore: consider multiple APs when checking active_link_count
authorEliad Peller <eliad@wizery.com>
Mon, 10 Feb 2014 11:47:30 +0000 (13:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 13 Feb 2014 20:20:16 +0000 (15:20 -0500)
commit41ed1a787c4940d58d5870c633ab6291dd4679dd
treecf851f43ff981c61cdd9a01adfef64e4911fb60b
parentbf4e5f1ac0e2b277424ec0d035b1fbab46dd66bb
wlcore: consider multiple APs when checking active_link_count

Each AP has its own global and broadcast links, so when
checking for active sta count (according to the active_link_count)
we must take them all into account.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/tx.c