aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-26 08:35:08 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-26 08:35:08 (GMT)
commit719347511ad6a9b4d7ef6f1459cb08597900cbc9 (patch)
treedf673c9d05b10eaa9a346262bf0a657869eababc /wpa_supplicant/driver_i.h
parent81f4f6195ecaf4d8c24f178183c7f6237ef0073c (diff)
downloadhostap-719347511ad6a9b4d7ef6f1459cb08597900cbc9.zip
hostap-719347511ad6a9b4d7ef6f1459cb08597900cbc9.tar.gz
hostap-719347511ad6a9b4d7ef6f1459cb08597900cbc9.tar.bz2
Get rid of unnecessary typedefs for enums.
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 7f20fe0..7e4af80 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -103,8 +103,9 @@ static inline int wpa_drv_get_ssid(struct wpa_supplicant *wpa_s, u8 *ssid)
return -1;
}
-static inline int wpa_drv_set_key(struct wpa_supplicant *wpa_s, wpa_alg alg,
- const u8 *addr, int key_idx, int set_tx,
+static inline int wpa_drv_set_key(struct wpa_supplicant *wpa_s,
+ enum wpa_alg alg, const u8 *addr,
+ int key_idx, int set_tx,
const u8 *seq, size_t seq_len,
const u8 *key, size_t key_len)
{
@@ -236,7 +237,7 @@ wpa_drv_get_hw_feature_data(struct wpa_supplicant *wpa_s, u16 *num_modes,
}
static inline int wpa_drv_set_channel(struct wpa_supplicant *wpa_s,
- hostapd_hw_mode phymode, int chan,
+ enum hostapd_hw_mode phymode, int chan,
int freq)
{
if (wpa_s->driver->set_channel)