aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-04-03 16:04:20 (GMT)
committerJouni Malinen <j@w1.fi>2009-04-03 16:04:20 (GMT)
commit6caf9ca68c0c747a5240e0ac1a17a23ddb5c1d05 (patch)
tree339a953c1bc683aba5f9b96df97b0f9962a7d4d8 /wpa_supplicant/driver_i.h
parent0892aaaf511367b87ce8a70dfd9675013a0f8cd4 (diff)
downloadhostap-6caf9ca68c0c747a5240e0ac1a17a23ddb5c1d05.zip
hostap-6caf9ca68c0c747a5240e0ac1a17a23ddb5c1d05.tar.gz
hostap-6caf9ca68c0c747a5240e0ac1a17a23ddb5c1d05.tar.bz2
Share same hw_feature definitions between hostapd and wpa_supplicant
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 4d1446f..409c733 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -275,7 +275,7 @@ static inline int wpa_drv_mlme_setprotection(struct wpa_supplicant *wpa_s,
return 0;
}
-static inline struct wpa_hw_modes *
+static inline struct hostapd_hw_modes *
wpa_drv_get_hw_feature_data(struct wpa_supplicant *wpa_s, u16 *num_modes,
u16 *flags)
{
@@ -286,7 +286,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,
- wpa_hw_mode phymode, int chan,
+ hostapd_hw_mode phymode, int chan,
int freq)
{
if (wpa_s->driver->set_channel)