wl12xx: start reworking the init sequence
authorEliad Peller <eliad@wizery.com>
Wed, 5 Oct 2011 09:55:40 +0000 (11:55 +0200)
committerLuciano Coelho <coelho@ti.com>
Fri, 7 Oct 2011 05:32:32 +0000 (08:32 +0300)
commit92c77c734f958474ac73af670834bc32cb833e54
tree0bb5c3d1c3fe88624ddb7f3cbbd533eb9cf270e9
parent784f694d0f3ca927361aa0c26de1aa340eb5b275
wl12xx: start reworking the init sequence

Split the init sequence into common commands (non role-specific)
and role-specific commands.

We still need to call the common commands only on add_interface()
(rather than on start()) as the fw must get the mac address
when uploading the nvs.

Future patches will refactor the init sequence further more.

Signed-off-by: Eliad Peller <eliad@wizery.com>
[fixed a couple of sparse warnings]
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/init.c
drivers/net/wireless/wl12xx/init.h
drivers/net/wireless/wl12xx/main.c