Merge mac80211 driver from tree at bu3sch.de, pulled 24/6
[openwrt.git] / package / mac80211 / src / wireless / nl80211.c
index d6a44a3..ffbe628 100644 (file)
@@ -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]) {
This page took 0.021561 seconds and 4 git commands to generate.