diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-10 18:01:58 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-15 16:48:23 -0400 |
commit | 05c914fe330fa8e1cc67870dc0d3809dfd96c107 (patch) | |
tree | df53bcab47335f3361c09478d6b1447b7d298536 /net/mac80211/ieee80211_i.h | |
parent | 96dd22ac06b0dbfb069fdf530c72046a941e9694 (diff) |
mac80211: use nl80211 interface types
There's really no reason for mac80211 to be using its
own interface type defines. Use the nl80211 types and
simplify the configuration code a bit: there's no need
to translate them any more now.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 21cc6d07b020..80d88f5ff90c 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -954,10 +954,10 @@ void ieee80211_rx_bss_put(struct ieee80211_local *local, | |||
954 | /* interface handling */ | 954 | /* interface handling */ |
955 | void ieee80211_if_setup(struct net_device *dev); | 955 | void ieee80211_if_setup(struct net_device *dev); |
956 | int ieee80211_if_add(struct ieee80211_local *local, const char *name, | 956 | int ieee80211_if_add(struct ieee80211_local *local, const char *name, |
957 | struct net_device **new_dev, enum ieee80211_if_types type, | 957 | struct net_device **new_dev, enum nl80211_iftype type, |
958 | struct vif_params *params); | 958 | struct vif_params *params); |
959 | int ieee80211_if_change_type(struct ieee80211_sub_if_data *sdata, | 959 | int ieee80211_if_change_type(struct ieee80211_sub_if_data *sdata, |
960 | enum ieee80211_if_types type); | 960 | enum nl80211_iftype type); |
961 | void ieee80211_if_remove(struct ieee80211_sub_if_data *sdata); | 961 | void ieee80211_if_remove(struct ieee80211_sub_if_data *sdata); |
962 | void ieee80211_remove_interfaces(struct ieee80211_local *local); | 962 | void ieee80211_remove_interfaces(struct ieee80211_local *local); |
963 | 963 | ||
@@ -1001,7 +1001,7 @@ extern void *mac80211_wiphy_privid; /* for wiphy privid */ | |||
1001 | extern const unsigned char rfc1042_header[6]; | 1001 | extern const unsigned char rfc1042_header[6]; |
1002 | extern const unsigned char bridge_tunnel_header[6]; | 1002 | extern const unsigned char bridge_tunnel_header[6]; |
1003 | u8 *ieee80211_get_bssid(struct ieee80211_hdr *hdr, size_t len, | 1003 | u8 *ieee80211_get_bssid(struct ieee80211_hdr *hdr, size_t len, |
1004 | enum ieee80211_if_types type); | 1004 | enum nl80211_iftype type); |
1005 | int ieee80211_frame_duration(struct ieee80211_local *local, size_t len, | 1005 | int ieee80211_frame_duration(struct ieee80211_local *local, size_t len, |
1006 | int rate, int erp, int short_preamble); | 1006 | int rate, int erp, int short_preamble); |
1007 | void mac80211_ev_michael_mic_failure(struct ieee80211_sub_if_data *sdata, int keyidx, | 1007 | void mac80211_ev_michael_mic_failure(struct ieee80211_sub_if_data *sdata, int keyidx, |