This allows interfaces of IEEE80211_SUB_IF_TYPE_MGMT type (wlan%dap
interfaces) to be put UP.

Signed-off-by: Jiri Benc <[EMAIL PROTECTED]>

Index: dscape/net/d80211/ieee80211.c
===================================================================
--- dscape.orig/net/d80211/ieee80211.c  2006-03-06 14:18:10.000000000 +0100
+++ dscape/net/d80211/ieee80211.c       2006-03-06 14:18:51.000000000 +0100
@@ -1874,6 +1874,8 @@ static inline int identical_mac_addr_all
 {
        return (type1 == IEEE80211_SUB_IF_TYPE_MNTR ||
                type2 == IEEE80211_SUB_IF_TYPE_MNTR ||
+               type1 == IEEE80211_SUB_IF_TYPE_MGMT ||
+               type2 == IEEE80211_SUB_IF_TYPE_MGMT ||
                (type1 == IEEE80211_SUB_IF_TYPE_AP &&
                 type2 == IEEE80211_SUB_IF_TYPE_WDS) ||
                (type1 == IEEE80211_SUB_IF_TYPE_WDS &&
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to