~ubuntu-branches/ubuntu/precise/wpasupplicant/precise-security

« back to all changes in this revision

Viewing changes to drivers.c

  • Committer: Bazaar Package Importer
  • Author(s): Kel Modderman
  • Date: 2006-10-05 08:04:01 UTC
  • mfrom: (1.2.1 upstream) (2.1.14 edgy)
  • Revision ID: james.westby@ubuntu.com-20061005080401-myfwjtq7di70dyeo
* Update madwifi headers to latest SVN. (Closes: #388316)
* Remove failed attempt at action locking. [debian/functions.sh,
  debian/wpa_action.sh]
* Add hysteresis checking functions, to avoid "event loops" while
  using wpa-roam. [debian/functions.sh, debian/wpa_action.sh]
* Change of co-maintainer email address.
* Add ishex() function to functions.sh to determine wpa-psk value type in
  plaintext or hex. This effectively eliminates the need for the bogus and
  somewhat confusing wpa-passphrase contruct specific to our scripts and
  allows wpa-psk to work with either a 8 to 63 character long plaintext
  string or 64 character long hex string.
* Adjust README.modes to not refer to the redundant wpa-passphrase stuff.
* Add big fat NOTE about acceptable wpa-psk's to top of example gallery.
* Strip surrounding quotes from wpa-ssid if present, instead of just whining
  about them.
* Update email address in copyright blurb of functions.sh, ifupdown.sh and
  wpa_action.sh.  

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * WPA Supplicant / driver interface list
3
 
 * Copyright (c) 2004, Jouni Malinen <jkmaline@cc.hut.fi>
 
3
 * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi>
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or modify
6
6
 * it under the terms of the GNU General Public License version 2 as
12
12
 * See README and COPYING for more details.
13
13
 */
14
14
 
15
 
#include <stdlib.h>
 
15
#include "includes.h"
16
16
 
17
17
 
18
18
#ifdef CONFIG_DRIVER_HOSTAP
49
49
#ifdef CONFIG_DRIVER_NDIS
50
50
extern struct wpa_driver_ops wpa_driver_ndis_ops; /* driver_ndis.c */
51
51
#endif /* CONFIG_DRIVER_NDIS */
 
52
#ifdef CONFIG_DRIVER_WIRED
 
53
extern struct wpa_driver_ops wpa_driver_wired_ops; /* driver_wired.c */
 
54
#endif /* CONFIG_DRIVER_WIRED */
52
55
#ifdef CONFIG_DRIVER_TEST
53
56
extern struct wpa_driver_ops wpa_driver_test_ops; /* driver_test.c */
54
57
#endif /* CONFIG_DRIVER_TEST */
89
92
#ifdef CONFIG_DRIVER_NDIS
90
93
        &wpa_driver_ndis_ops,
91
94
#endif /* CONFIG_DRIVER_NDIS */
 
95
#ifdef CONFIG_DRIVER_WIRED
 
96
        &wpa_driver_wired_ops,
 
97
#endif /* CONFIG_DRIVER_WIRED */
92
98
#ifdef CONFIG_DRIVER_TEST
93
99
        &wpa_driver_test_ops,
94
100
#endif /* CONFIG_DRIVER_TEST */