diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-11-28 11:29:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:57 -0500 |
commit | dd1d12dabfeb123881b0c813d0b7d3585312bacd (patch) | |
tree | f7b9d23da8393d34a46400f7ffb36cde6bce8ce6 /drivers/net/wireless/libertas/debugfs.c | |
parent | 01affb653077d8581552d566276b405237636e5c (diff) |
libertas: remove numprobes
Remove the ability to specify number of probes via debugfs
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/debugfs.c')
-rw-r--r-- | drivers/net/wireless/libertas/debugfs.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/net/wireless/libertas/debugfs.c b/drivers/net/wireless/libertas/debugfs.c index de768de45848..e79236cfdbc1 100644 --- a/drivers/net/wireless/libertas/debugfs.c +++ b/drivers/net/wireless/libertas/debugfs.c | |||
@@ -300,23 +300,6 @@ static int lbs_parse_dur(char *buf, size_t count, | |||
300 | return val; | 300 | return val; |
301 | } | 301 | } |
302 | 302 | ||
303 | static void lbs_parse_probes(char *buf, size_t count, | ||
304 | struct lbs_ioctl_user_scan_cfg *scan_cfg) | ||
305 | { | ||
306 | char *hold; | ||
307 | int val; | ||
308 | |||
309 | hold = strstr(buf, "probes="); | ||
310 | if (!hold) | ||
311 | return; | ||
312 | hold += 7; | ||
313 | sscanf(hold, "%d", &val); | ||
314 | |||
315 | scan_cfg->numprobes = val; | ||
316 | |||
317 | return; | ||
318 | } | ||
319 | |||
320 | static void lbs_parse_type(char *buf, size_t count, | 303 | static void lbs_parse_type(char *buf, size_t count, |
321 | struct lbs_ioctl_user_scan_cfg *scan_cfg) | 304 | struct lbs_ioctl_user_scan_cfg *scan_cfg) |
322 | { | 305 | { |
@@ -368,7 +351,6 @@ static ssize_t lbs_setuserscan(struct file *file, | |||
368 | scan_cfg->clear_bssid = lbs_parse_clear(buf, count, "clear_bssid="); | 351 | scan_cfg->clear_bssid = lbs_parse_clear(buf, count, "clear_bssid="); |
369 | lbs_parse_ssid(buf, count, scan_cfg); | 352 | lbs_parse_ssid(buf, count, scan_cfg); |
370 | scan_cfg->clear_ssid = lbs_parse_clear(buf, count, "clear_ssid="); | 353 | scan_cfg->clear_ssid = lbs_parse_clear(buf, count, "clear_ssid="); |
371 | lbs_parse_probes(buf, count, scan_cfg); | ||
372 | lbs_parse_type(buf, count, scan_cfg); | 354 | lbs_parse_type(buf, count, scan_cfg); |
373 | 355 | ||
374 | lbs_scan_networks(priv, scan_cfg, 1); | 356 | lbs_scan_networks(priv, scan_cfg, 1); |