summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/decl.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2007-05-25 18:04:31 +0200
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 20:28:38 +0200
commit32a74b7c8f7b883b532e0e4333b7c3014d3d8fe8 (patch)
treeef19ed4732bfd73818f6ddfc83b90e2b3eb4363d /drivers/net/wireless/libertas/decl.h
parent[PATCH] libertas: move reset_device() code main.c to if_usb.c (diff)
downloadlinux-32a74b7c8f7b883b532e0e4333b7c3014d3d8fe8.tar.xz
linux-32a74b7c8f7b883b532e0e4333b7c3014d3d8fe8.zip
[PATCH] libertas: split wlan_add_card()
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. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/decl.h')
-rw-r--r--drivers/net/wireless/libertas/decl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/decl.h b/drivers/net/wireless/libertas/decl.h
index b0694fe20f30..96d22b1f25d8 100644
--- a/drivers/net/wireless/libertas/decl.h
+++ b/drivers/net/wireless/libertas/decl.h
@@ -77,6 +77,7 @@ void libertas_send_iwevcustom_event(wlan_private * priv, s8 * str);
extern struct chan_freq_power *libertas_get_region_cfp_table(u8 region, u8 band,
int *cfp_no);
wlan_private *wlan_add_card(void *card);
+int libertas_activate_card(wlan_private *priv);
int wlan_remove_card(wlan_private *priv);
int wlan_add_mesh(wlan_private *priv);
void wlan_remove_mesh(wlan_private *priv);