OSDN Git Service

staging: wilc1000: use enum contants for mac status & added 'WILC_' prefix
[uclinux-h8/linux.git] / drivers / staging / wilc1000 / linux_wlan.c
index 76c9012..274c4f6 100644 (file)
@@ -162,7 +162,7 @@ void wilc_mac_indicate(struct wilc *wilc)
        s8 status;
 
        wilc_wlan_cfg_get_val(wilc, WID_STATUS, &status, 1);
-       if (wilc->mac_status == MAC_STATUS_INIT) {
+       if (wilc->mac_status == WILC_MAC_STATUS_INIT) {
                wilc->mac_status = status;
                complete(&wilc->sync_event);
        } else {
@@ -624,7 +624,7 @@ static int wilc_wlan_initialize(struct net_device *dev, struct wilc_vif *vif)
        struct wilc *wl = vif->wilc;
 
        if (!wl->initialized) {
-               wl->mac_status = MAC_STATUS_INIT;
+               wl->mac_status = WILC_MAC_STATUS_INIT;
                wl->close = 0;
 
                wlan_init_locks(dev);