staging: wilc1000: remove wilc_set_machw_change_vir_if
[deliverable/linux.git] / drivers / staging / wilc1000 / linux_wlan.c
index 006f75f7c6757ea1472bb4610399b7c8edba1fb5..08d2cb2c00b83077b26a008ecbed74058e65e14a 100644 (file)
@@ -1024,14 +1024,13 @@ int wilc_mac_open(struct net_device *ndev)
                return ret;
        }
 
-       wilc_set_machw_change_vir_if(ndev, false);
-
        wilc_get_mac_address(vif, mac_add);
        PRINT_D(INIT_DBG, "Mac address: %pM\n", mac_add);
 
        for (i = 0; i < wl->vif_num; i++) {
                if (ndev == wl->vif[i]->ndev) {
                        memcpy(wl->vif[i]->src_addr, mac_add, ETH_ALEN);
+                       wilc_set_operation_mode(vif, vif->iftype);
                        break;
                }
        }
This page took 0.036434 seconds and 5 git commands to generate.