Added lengthening of the max frame size to initmac().

This commit is contained in:
mark 2000-07-10 06:36:47 +00:00
parent cdede8cac3
commit ec6f5412aa
1 changed files with 6 additions and 1 deletions

View File

@ -1099,7 +1099,12 @@ int prism2sta_initmac(wlandevice_t *wlandev)
/* Retrieve the maximum frame size */
hfa384x_drvr_getconfig16(hw, HFA384x_RID_CNFMAXDATALEN, &reg);
WLAN_LOG_DEBUG1(1,"Max frame data size=%d\n", reg);
WLAN_LOG_DEBUG1(1,"F/W default max frame data size=%d\n", reg);
reg=WLAN_DATA_MAXLEN;
hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFMAXDATALEN, &reg);
hfa384x_drvr_getconfig16(hw, HFA384x_RID_CNFMAXDATALEN, &reg);
WLAN_LOG_DEBUG1(1,"F/W max frame data size after set=%d\n", reg);
/* TODO: Set any internally managed config items */