iwl_mvm_init_link(&mvmvif->deflink);
 
-       /* No need to allocate data queues to P2P Device MAC and NAN.*/
+       /* No need to allocate data queues to P2P Device MAC */
        if (vif->type == NL80211_IFTYPE_P2P_DEVICE)
                return 0;
 
 
 
        rcu_assign_pointer(mvm->vif_id_to_mac[mvmvif->id], vif);
 
-       /* Currently not much to do for NAN */
-       if (vif->type == NL80211_IFTYPE_NAN) {
-               ret = 0;
-               goto out;
-       }
-
        /*
         * The AP binding flow can be done only after the beacon
         * template is configured (which happens only in the mac80211
 
        struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
        int ret;
 
-       if (WARN_ON_ONCE(vif->type == NL80211_IFTYPE_NAN))
-               return -EOPNOTSUPP;
-
        if (WARN_ONCE(mvmvif->uploaded, "Adding active MAC %pM/%d\n",
                      vif->addr, ieee80211_vif_type_p2p(vif)))
                return -EIO;
 {
        struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif);
 
-       if (WARN_ON_ONCE(vif->type == NL80211_IFTYPE_NAN))
-               return -EOPNOTSUPP;
-
        if (WARN_ONCE(!mvmvif->uploaded, "Changing inactive MAC %pM/%d\n",
                      vif->addr, ieee80211_vif_type_p2p(vif)))
                return -EIO;
        };
        int ret;
 
-       if (WARN_ON_ONCE(vif->type == NL80211_IFTYPE_NAN))
-               return -EOPNOTSUPP;
-
        if (WARN_ONCE(!mvmvif->uploaded, "Removing inactive MAC %pM/%d\n",
                      vif->addr, ieee80211_vif_type_p2p(vif)))
                return -EIO;