wl12xx: use dynamic hlids for AP-mode
authorArik Nemtsov <arik@wizery.com>
Sun, 14 Aug 2011 10:17:21 +0000 (13:17 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 22 Aug 2011 09:35:27 +0000 (12:35 +0300)
commite51ae9be2e313b63a43f1f93578d9a71d38a77ea
tree299037f68be2ced8bece8546cccdcc25a4c70f60
parent712e9bf750c5d0db63040c5695dacf38aed4f42c
wl12xx: use dynamic hlids for AP-mode

Using hlid=0 in AP mode is a bug. Dynamically allocate HLIDs.

Set the "first sta hlid" as 3. This will have to be changed
when multiple vifs will be supported.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/cmd.c
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/tx.c
drivers/net/wireless/wl12xx/wl12xx.h