aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/src/wireless
diff options
context:
space:
mode:
authorPeter Denison <openwrt@marshadder.org>2007-06-25 19:52:20 +0000
committerPeter Denison <openwrt@marshadder.org>2007-06-25 19:52:20 +0000
commit164e789c7ae5f9369d3a89cf2e76c0bde758dba5 (patch)
tree036edcfe1ee91157f878e2d1c505f620fd1ab87e /package/mac80211/src/wireless
parenteed7b91c68806d8e6c72aabfadf2322b76997e3a (diff)
downloadupstream-164e789c7ae5f9369d3a89cf2e76c0bde758dba5.tar.gz
upstream-164e789c7ae5f9369d3a89cf2e76c0bde758dba5.tar.bz2
upstream-164e789c7ae5f9369d3a89cf2e76c0bde758dba5.zip
Merge mac80211 driver from tree at bu3sch.de, pulled 24/6
SVN-Revision: 7733
Diffstat (limited to 'package/mac80211/src/wireless')
-rw-r--r--package/mac80211/src/wireless/nl80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mac80211/src/wireless/nl80211.c b/package/mac80211/src/wireless/nl80211.c
index d6a44a386c..ffbe6288a2 100644
--- a/package/mac80211/src/wireless/nl80211.c
+++ b/package/mac80211/src/wireless/nl80211.c
@@ -293,7 +293,7 @@ static int nl80211_add_virt_intf(struct sk_buff *skb, struct genl_info *info)
{
struct cfg80211_registered_device *drv;
int err;
- unsigned int type = NL80211_IFTYPE_UNSPECIFIED;
+ enum nl80211_iftype type = NL80211_IFTYPE_UNSPECIFIED;
if (!info->attrs[NL80211_ATTR_IFNAME])
return -EINVAL;
@@ -353,7 +353,7 @@ static int nl80211_change_virt_intf(struct sk_buff *skb, struct genl_info *info)
{
struct cfg80211_registered_device *drv;
int err, ifindex;
- unsigned int type;
+ enum nl80211_iftype type;
struct net_device *dev;
if (info->attrs[NL80211_ATTR_IFTYPE]) {