Searched refs:type1 (Results 1 – 1 of 1) sorted by relevance
227 static inline int identical_mac_addr_allowed(int type1, int type2) in identical_mac_addr_allowed() argument229 return type1 == NL80211_IFTYPE_MONITOR || in identical_mac_addr_allowed()231 type1 == NL80211_IFTYPE_P2P_DEVICE || in identical_mac_addr_allowed()233 (type1 == NL80211_IFTYPE_AP && type2 == NL80211_IFTYPE_WDS) || in identical_mac_addr_allowed()234 (type1 == NL80211_IFTYPE_WDS && in identical_mac_addr_allowed()237 (type1 == NL80211_IFTYPE_AP && type2 == NL80211_IFTYPE_AP_VLAN) || in identical_mac_addr_allowed()238 (type1 == NL80211_IFTYPE_AP_VLAN && in identical_mac_addr_allowed()