wl12xx: enable/disable role on interface add/remove
authorEliad Peller <eliad@wizery.com>
Sun, 14 Aug 2011 10:17:08 +0000 (13:17 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 22 Aug 2011 09:35:24 +0000 (12:35 +0300)
commitb78b47eb73fcf4f04226ab8014aa8dadf11675d9
treeb4ffbd7b9459890d959ff7b4be35f25be5b83b28
parentc690ec816f9fa2ab2b6200c5b79b6933acca49a4
wl12xx: enable/disable role on interface add/remove

According to the new multi-role flow, we have to enable the
role before using (starting) it, and disable it on cleanup
(after it's no longer needed).

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