Skip to content

Commit

Permalink
staging bcm: spelling of suppress in comments
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Peter Meerwald authored and Greg Kroah-Hartman committed Jun 13, 2012
1 parent 95dc690 commit f922ffc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions drivers/staging/bcm/PHSModule.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ Function: PHSTransmit
Description: This routine handle PHS(Payload Header Suppression for Tx path.
It extracts a fragment of the NDIS_PACKET containing the header
to be suppressed.It then supresses the header by invoking PHS exported compress routine.
The header data after supression is copied back to the NDIS_PACKET.
to be suppressed. It then suppresses the header by invoking PHS exported compress routine.
The header data after suppression is copied back to the NDIS_PACKET.
Input parameters: IN struct bcm_mini_adapter *Adapter - Miniport Adapter Context
Expand Down Expand Up @@ -101,7 +101,7 @@ int PHSTransmit(struct bcm_mini_adapter *Adapter,
if(!bEthCSSupport)
BytesToRemove=ETH_HLEN;
/*
Accumulate the header upto the size we support supression
Accumulate the header upto the size we support suppression
from NDIS packet
*/

Expand All @@ -125,7 +125,7 @@ int PHSTransmit(struct bcm_mini_adapter *Adapter,
{


// Step 2 Supress Header using PHS and fill into intermediate ucaPHSPktHdrOutBuf.
// Step 2 Suppress Header using PHS and fill into intermediate ucaPHSPktHdrOutBuf.
// Suppress only if IP Header and PHS Enabled For the Service Flow
if(((usPacketType == ETHERNET_FRAMETYPE_IPV4) ||
(usPacketType == ETHERNET_FRAMETYPE_IPV6)) &&
Expand Down Expand Up @@ -238,7 +238,7 @@ int PHSReceive(struct bcm_mini_adapter *Adapter,
&nTotalsupressedPktHdrBytes,
&nStandardPktHdrLen);

BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, PHS_RECEIVE,DBG_LVL_ALL,"\nSupressed PktHdrLen : 0x%x Restored PktHdrLen : 0x%x",
BCM_DEBUG_PRINT(Adapter,DBG_TYPE_OTHERS, PHS_RECEIVE,DBG_LVL_ALL,"\nSuppressed PktHdrLen : 0x%x Restored PktHdrLen : 0x%x",
nTotalsupressedPktHdrBytes,nStandardPktHdrLen);

if(ulPhsStatus != STATUS_PHS_COMPRESSED)
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/bcm/cntrl_SignalingInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ typedef struct _stPhsRuleSI {
B_UINT8 u8PHSM[MAX_PHS_LENGTHS];
/** 8bit Total number of bytes to be suppressed for the Service Flow*/
B_UINT8 u8PHSS;
/** 8bit Indicates whether or not Packet Header contents need to be verified prior to supression */
/** 8bit Indicates whether or not Packet Header contents need to be verified prior to suppression */
B_UINT8 u8PHSV;
/** Vendor Specific PHS param Length Of The Service Flow*/
B_UINT8 u8VendorSpecificPHSParamsLength;
Expand Down

0 comments on commit f922ffc

Please sign in to comment.