wl12xx: AP mode - fetch appropriate firmware for AP
authorArik Nemtsov <arik@wizery.com>
Sat, 16 Oct 2010 19:44:57 +0000 (21:44 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 24 Jan 2011 20:11:50 +0000 (22:11 +0200)
commit166d504ebaed391f1a411c69a5659632249ba711
tree3ac46623747ce14795ce9fb9ac09935f1dc72a3e
parent7f179b468963564aa3faa5729fb3153c08b3d7c1
wl12xx: AP mode - fetch appropriate firmware for AP

AP and STA modes use different firmwares.

Differentiate the firmware files by name and fetch the appropriate one
when add_interface is called by mac80211. The STA firmware is chosen for
PLT mode.

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