wl12xx: use ap_bcast_hlid for recorded keys
authorEliad Peller <eliad@wizery.com>
Sun, 14 Aug 2011 10:17:30 +0000 (13:17 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 22 Aug 2011 09:35:29 +0000 (12:35 +0300)
commit7f97b487c4a9634afc008a76ff26268147d7ee8e
tree54ed6b4487362e3250ef3ca3e032b631b3d5d076
parent1a8adb67f9c37cad9539dd9dcb289ce1411680fc
wl12xx: use ap_bcast_hlid for recorded keys

when the key was recorded, wl->ap_bcast_hlid was invalid
(since the role wasn't started), so when configuring the
key we need to use the current ap_bcast_hlid.

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