[PATCH] libertas: split wlan_add_card()
Marcelo Tosatti
marcelo at kvack.org
Mon Feb 26 15:25:36 EST 2007
On Sat, Feb 24, 2007 at 04:58:25PM +0100, Holger Schurig wrote:
> Split wlan_add_card() into a part that just setups kernel parameters and into
> the function libertas_activate_card(), which will implizitly use hardware
> functions by the started thread.
>
> This allows us later to do something like this:
>
> priv = libertas_add_card();
> priv->hw_command_to_host = if_usb_command_to_host;
> priv->hw_xxxx = if_usb_xxxx;
> priv->hw_yyyy = if_usb_yyyy;
> wlan_activate_card()
>
> and of course the CF driver can set it's own functions.
> ---
> drivers/net/wireless/libertas/decl.h | 1 +
> drivers/net/wireless/libertas/if_usb.c | 3 +++
> drivers/net/wireless/libertas/main.c | 26 ++++++++++++++++++++------
> 3 files changed, 24 insertions(+), 6 deletions(-)
Applied.
More information about the libertas-dev
mailing list