]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
wl1271: set wl->vif only if add_interface succeeded.
authorEliad Peller <eliad@wizery.com>
Thu, 28 Oct 2010 19:46:43 +0000 (21:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:25:21 +0000 (13:25 -0500)
commit71125abdf0c297adc00dc5632f0318b2397286f5
treee24ed86199b36e97365b83ed855390f99cb12073
parentf8d9802f66eda9ff14f7667f99a46b31e9a9e273
wl1271: set wl->vif only if add_interface succeeded.

set wl->vif to the newly created interface only after the firmware booted
successfully. on the way - make the function flow more clear.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
drivers/net/wireless/wl12xx/wl1271_main.c