aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/p80211netdev.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2008-10-29 10:42:59 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 16:51:57 -0500
commite02c69b8af13938153a3e9470fadce49608170de (patch)
tree8aa8cc5867d28519250b4b366a785307b48c2607 /drivers/staging/wlan-ng/p80211netdev.c
parent1e7201836c576883d5bd708810cc72ab1392756f (diff)
Staging: wlan-ng: Consolidate wlan-ng into a single module.
There's no point in having a separate 'p80211' module, as nobody else is ever going to use it. Push everyting into a single module, and get rid of all exports. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211netdev.c')
-rw-r--r--drivers/staging/wlan-ng/p80211netdev.c57
1 files changed, 13 insertions, 44 deletions
diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c
index c050c56805e..41b62a3fe54 100644
--- a/drivers/staging/wlan-ng/p80211netdev.c
+++ b/drivers/staging/wlan-ng/p80211netdev.c
@@ -108,11 +108,6 @@
108/* Local Types */ 108/* Local Types */
109 109
110/*================================================================*/ 110/*================================================================*/
111/* Local Static Definitions */
112
113#define __NO_VERSION__ /* prevent the static definition */
114
115/*================================================================*/
116/* Local Function Declarations */ 111/* Local Function Declarations */
117 112
118/* Support functions */ 113/* Support functions */
@@ -130,48 +125,22 @@ static int p80211knetdev_set_mac_address(netdevice_t *dev, void *addr);
130static void p80211knetdev_tx_timeout(netdevice_t *netdev); 125static void p80211knetdev_tx_timeout(netdevice_t *netdev);
131static int p80211_rx_typedrop( wlandevice_t *wlandev, u16 fc); 126static int p80211_rx_typedrop( wlandevice_t *wlandev, u16 fc);
132 127
128int wlan_watchdog = 5000;
129module_param(wlan_watchdog, int, 0644);
130MODULE_PARM_DESC(wlan_watchdog, "transmit timeout in milliseconds");
133 131
134/*================================================================*/ 132int wlan_wext_write = 1;
135/* Function Definitions */ 133module_param(wlan_wext_write, int, 0644);
134MODULE_PARM_DESC(wlan_wext_write, "enable write wireless extensions");
136 135
137/*---------------------------------------------------------------- 136#ifdef WLAN_INCLUDE_DEBUG
138* p80211knetdev_startup 137int wlan_debug=0;
139* 138module_param(wlan_debug, int, 0644);
140* Initialize the wlandevice/netdevice part of 802.11 services at 139MODULE_PARM_DESC(wlan_debug, "p80211 debug level");
141* load time. 140#endif
142*
143* Arguments:
144* none
145*
146* Returns:
147* nothing
148----------------------------------------------------------------*/
149void p80211netdev_startup(void)
150{
151 DBFENTER;
152
153 DBFEXIT;
154 return;
155}
156 141
157/*---------------------------------------------------------------- 142/*================================================================*/
158* p80211knetdev_shutdown 143/* Function Definitions */
159*
160* Shutdown the wlandevice/netdevice part of 802.11 services at
161* unload time.
162*
163* Arguments:
164* none
165*
166* Returns:
167* nothing
168----------------------------------------------------------------*/
169void
170p80211netdev_shutdown(void)
171{
172 DBFENTER;
173 DBFEXIT;
174}
175 144
176/*---------------------------------------------------------------- 145/*----------------------------------------------------------------
177* p80211knetdev_init 146* p80211knetdev_init