Fixes for compile warnings, courtesy of Pavel Roskin.
This commit is contained in:
parent
f8741ec8b9
commit
d21b5f5ef7
1
CHANGES
1
CHANGES
|
@ -41,6 +41,7 @@
|
|||
* Intersil Corporation as part of PRISM(R) chipset product development.
|
||||
*
|
||||
* --------------------------------------------------------------------
|
||||
- Fixes to silence GCC3.2 warnings. (Pavel Roskin)
|
||||
-pre7
|
||||
- Patch to fix int array mib manipulation. (Pavel Roskin)
|
||||
- Minor improvements to the build system.
|
||||
|
|
|
@ -283,6 +283,7 @@ void p80211req_handlemsg( wlandevice_t *wlandev, p80211msg_t *msg)
|
|||
}
|
||||
default:
|
||||
// XXX do nothing!
|
||||
;
|
||||
} /* switch msg->msgcode */
|
||||
|
||||
DBFEXIT;
|
||||
|
@ -390,6 +391,7 @@ int p80211req_mibset_mibget(wlandevice_t *wlandev, p80211msg_dot11req_mibget_t *
|
|||
}
|
||||
default:
|
||||
// XXXX do nothing!
|
||||
;
|
||||
}
|
||||
|
||||
DBFEXIT;
|
||||
|
|
|
@ -691,9 +691,9 @@ int hfa384x_drvr_readpda(hfa384x_t *hw, void *buf, UINT len)
|
|||
pdacrc =hfa384x2host_16(pda[currpdr+2]);
|
||||
if ( crc != pdacrc ) {
|
||||
WLAN_LOG_DEBUG2(3,
|
||||
"PDA crc failed:
|
||||
calc_crc=0x%04x,
|
||||
pdr_crc=0x%04x.\n",
|
||||
"PDA crc failed:"
|
||||
"calc_crc=0x%04x,"
|
||||
"pdr_crc=0x%04x.\n",
|
||||
crc, pdacrc);
|
||||
pdaok = 0;
|
||||
}
|
||||
|
|
|
@ -327,8 +327,7 @@ int prism2mgmt_scan(wlandevice_t *wlandev, void *msgp)
|
|||
result = hfa384x_drvr_setconfig16(hw,
|
||||
HFA384x_RID_CNFROAMINGMODE, &word);
|
||||
if ( result ) {
|
||||
WLAN_LOG_ERROR1("setconfig(ROAMINGMODE) failed.
|
||||
result=%d\n", result);
|
||||
WLAN_LOG_ERROR1("setconfig(ROAMINGMODE) failed. result=%d\n", result);
|
||||
msg->resultcode.data =
|
||||
P80211ENUM_resultcode_implementation_failure;
|
||||
goto exit;
|
||||
|
@ -1426,8 +1425,7 @@ int prism2mgmt_start(wlandevice_t *wlandev, void *msgp)
|
|||
result = hfa384x_drvr_setconfig( hw, HFA384x_RID_CNFOWNSSID,
|
||||
bytebuf, HFA384x_RID_CNFOWNSSID_LEN);
|
||||
if ( result ) {
|
||||
WLAN_LOG_ERROR1(__FUNCTION__
|
||||
": Failed to set SSID, result=0x%04x\n", result);
|
||||
WLAN_LOG_ERROR1("Failed to set SSID, result=0x%04x\n", result);
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue