Fixed some calls to INTEN_ISALLOC, they should be EVSTAT_ISALLOC.

This commit is contained in:
mark 2000-06-29 13:27:59 +00:00
parent 26613a6648
commit 7dc5ab7f70
1 changed files with 2 additions and 2 deletions

View File

@ -780,7 +780,7 @@ int prism2sta_initmac(wlandevice_t *wlandev)
reg = wlan_inw_le16_to_cpu(HFA384x_EVSTAT(hw->iobase));
udelay(10);
j++;
} while ( !HFA384x_INTEN_ISALLOC(reg) && j < 50); /* 50 is timeout */
} while ( !HFA384x_EVSTAT_ISALLOC(reg) && j < 50); /* 50 is timeout */
if ( j >= 50 ) {
WLAN_LOG_ERROR0("Timed out waiting for evalloc(tx).\n");
result = -ETIMEDOUT;
@ -804,7 +804,7 @@ int prism2sta_initmac(wlandevice_t *wlandev)
reg = wlan_inw_le16_to_cpu(HFA384x_EVSTAT(hw->iobase));
udelay(10);
i++;
} while ( !HFA384x_INTEN_ISALLOC(reg) && i < 50); /* 50 is timeout */
} while ( !HFA384x_EVSTAT_ISALLOC(reg) && i < 50); /* 50 is timeout */
if ( i >= 50 ) {
WLAN_LOG_ERROR0("Timed out waiting for evalloc(info).\n");
result = -ETIMEDOUT;