libertas: only enable mesh when interface is active
authorDaniel Drake <dsd@laptop.org>
Wed, 20 Jul 2011 16:53:56 +0000 (17:53 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jul 2011 19:04:41 +0000 (15:04 -0400)
commitd931998669c3e0e917bd9983880f3498c27de0af
tree927b6529e158a70ffd5a06766970015363dd9861
parent3db4f989384c90f5f6be14e88c19732bfb0ac331
libertas: only enable mesh when interface is active

Previously, the mesh was running whenever the appropriate hardware
and firmware was present.

Now we only run the mesh when the interface is running.

Also simplifies interface management a little.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/dev.h
drivers/net/wireless/libertas/main.c
drivers/net/wireless/libertas/mesh.c
drivers/net/wireless/libertas/mesh.h
drivers/net/wireless/libertas/tx.c