diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2008-10-29 10:42:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 16:51:57 -0500 |
commit | e02c69b8af13938153a3e9470fadce49608170de (patch) | |
tree | 8aa8cc5867d28519250b4b366a785307b48c2607 /drivers/staging/wlan-ng/p80211netdev.c | |
parent | 1e7201836c576883d5bd708810cc72ab1392756f (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.c | 57 |
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); | |||
130 | static void p80211knetdev_tx_timeout(netdevice_t *netdev); | 125 | static void p80211knetdev_tx_timeout(netdevice_t *netdev); |
131 | static int p80211_rx_typedrop( wlandevice_t *wlandev, u16 fc); | 126 | static int p80211_rx_typedrop( wlandevice_t *wlandev, u16 fc); |
132 | 127 | ||
128 | int wlan_watchdog = 5000; | ||
129 | module_param(wlan_watchdog, int, 0644); | ||
130 | MODULE_PARM_DESC(wlan_watchdog, "transmit timeout in milliseconds"); | ||
133 | 131 | ||
134 | /*================================================================*/ | 132 | int wlan_wext_write = 1; |
135 | /* Function Definitions */ | 133 | module_param(wlan_wext_write, int, 0644); |
134 | MODULE_PARM_DESC(wlan_wext_write, "enable write wireless extensions"); | ||
136 | 135 | ||
137 | /*---------------------------------------------------------------- | 136 | #ifdef WLAN_INCLUDE_DEBUG |
138 | * p80211knetdev_startup | 137 | int wlan_debug=0; |
139 | * | 138 | module_param(wlan_debug, int, 0644); |
140 | * Initialize the wlandevice/netdevice part of 802.11 services at | 139 | MODULE_PARM_DESC(wlan_debug, "p80211 debug level"); |
141 | * load time. | 140 | #endif |
142 | * | ||
143 | * Arguments: | ||
144 | * none | ||
145 | * | ||
146 | * Returns: | ||
147 | * nothing | ||
148 | ----------------------------------------------------------------*/ | ||
149 | void 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 | ----------------------------------------------------------------*/ | ||
169 | void | ||
170 | p80211netdev_shutdown(void) | ||
171 | { | ||
172 | DBFENTER; | ||
173 | DBFEXIT; | ||
174 | } | ||
175 | 144 | ||
176 | /*---------------------------------------------------------------- | 145 | /*---------------------------------------------------------------- |
177 | * p80211knetdev_init | 146 | * p80211knetdev_init |