In start(), I commented out some RID items that aren't needed or aren't supported yet in the firmware.

This commit is contained in:
mark 2000-02-03 21:59:55 +00:00
parent 3094d96b73
commit 814826d26c
1 changed files with 6 additions and 2 deletions

View File

@ -1250,12 +1250,13 @@ int prism2mgmt_start(wlandevice_t *wlandev, void *msgp)
break;
}
#if 0
result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, &word);
if ( result ) {
WLAN_LOG_DEBUG1(1, "Unable to set port type=%d.\n", word);
goto failed;
}
#endif
/* beacon period */
word = msg->beaconperiod.data;
result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFAPBCNINT, &word);
@ -1378,6 +1379,7 @@ int prism2mgmt_start(wlandevice_t *wlandev, void *msgp)
result = -1;
goto failed;
}
#if 0
/* read the PCFInfo and update */
result = hfa384x_drvr_getconfig(hw, HFA384x_RID_CNFAPPCFINFO,
pcfinfo, HFA384x_RID_CNFAPPCFINFO_LEN);
@ -1422,15 +1424,17 @@ int prism2mgmt_start(wlandevice_t *wlandev, void *msgp)
WLAN_LOG_DEBUG0(1, "Unable to write pcfinfo.\n");
goto failed;
}
#endif
ibss_skip:
/* Set the PortType */
#if 0
word = HFA384x_PORTTYPE_BSS;
result = hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, &word);
if ( result ) {
WLAN_LOG_DEBUG1(1, "Unable to write macport type=%d.\n", word);
goto failed;
}
#endif
/* Enable the interrupts */
word = HFA384x_INTEN_INFDROP_SET(1) |