mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-08 13:44:01 +08:00
Staging: bcm: Shortened lines in RestoreSFParam()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b9e9c27410
commit
ba3d0ee976
@ -1258,12 +1258,14 @@ static VOID DumpCmControlPacket(PVOID pvBuffer)
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, DUMP_CONTROL, DBG_LVL_ALL, " bValid: 0x%X", pstAddIndication->sfActiveSet.bValid);
|
||||
}
|
||||
|
||||
static inline ULONG RestoreSFParam(struct bcm_mini_adapter *Adapter, ULONG ulAddrSFParamSet, PUCHAR pucDestBuffer)
|
||||
static inline ULONG RestoreSFParam(struct bcm_mini_adapter *Adapter,
|
||||
ULONG ulAddrSFParamSet, PUCHAR pucDestBuffer)
|
||||
{
|
||||
UINT nBytesToRead = sizeof(struct bcm_connect_mgr_params);
|
||||
|
||||
if (ulAddrSFParamSet == 0 || NULL == pucDestBuffer) {
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL, "Got Param address as 0!!");
|
||||
BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, CONN_MSG, DBG_LVL_ALL,
|
||||
"Got Param address as 0!!");
|
||||
return 0;
|
||||
}
|
||||
ulAddrSFParamSet = ntohl(ulAddrSFParamSet);
|
||||
|
Loading…
Reference in New Issue
Block a user