Commit f34170c7 authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman

Staging: bcm: Remove typedef for _stIM_sfHostNotify and call directly.

This patch removes typedef for _stIM_sfHostNotify,
changes the name of the struct from
_stIM_sfHostNotify to bcm_stim_sfhostnotify.
In addition, any calls to the following typedef
"stIM_sfHostNotify" are changed to call the
struct directly.
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b0ba7678
...@@ -1913,7 +1913,7 @@ int get_dsx_sf_data_to_application(struct bcm_mini_adapter *Adapter, UINT uiSFId ...@@ -1913,7 +1913,7 @@ int get_dsx_sf_data_to_application(struct bcm_mini_adapter *Adapter, UINT uiSFId
VOID OverrideServiceFlowParams(struct bcm_mini_adapter *Adapter, PUINT puiBuffer) VOID OverrideServiceFlowParams(struct bcm_mini_adapter *Adapter, PUINT puiBuffer)
{ {
B_UINT32 u32NumofSFsinMsg = ntohl(*(puiBuffer + 1)); B_UINT32 u32NumofSFsinMsg = ntohl(*(puiBuffer + 1));
stIM_SFHostNotify *pHostInfo = NULL; struct bcm_stim_sfhostnotify *pHostInfo = NULL;
UINT uiSearchRuleIndex = 0; UINT uiSearchRuleIndex = 0;
ULONG ulSFID = 0; ULONG ulSFID = 0;
...@@ -1922,7 +1922,7 @@ VOID OverrideServiceFlowParams(struct bcm_mini_adapter *Adapter, PUINT puiBuffer ...@@ -1922,7 +1922,7 @@ VOID OverrideServiceFlowParams(struct bcm_mini_adapter *Adapter, PUINT puiBuffer
while (u32NumofSFsinMsg != 0 && u32NumofSFsinMsg < NO_OF_QUEUES) { while (u32NumofSFsinMsg != 0 && u32NumofSFsinMsg < NO_OF_QUEUES) {
u32NumofSFsinMsg--; u32NumofSFsinMsg--;
pHostInfo = (stIM_SFHostNotify *)puiBuffer; pHostInfo = (struct bcm_stim_sfhostnotify *)puiBuffer;
puiBuffer = (PUINT)(pHostInfo + 1); puiBuffer = (PUINT)(pHostInfo + 1);
ulSFID = ntohl(pHostInfo->SFID); ulSFID = ntohl(pHostInfo->SFID);
......
...@@ -341,13 +341,13 @@ typedef struct stLocalSFDeleteIndication { ...@@ -341,13 +341,13 @@ typedef struct stLocalSFDeleteIndication {
B_UINT8 u8Padding1[3]; /* < 3 byte Padding */ B_UINT8 u8Padding1[3]; /* < 3 byte Padding */
} stLocalSFDeleteIndication; } stLocalSFDeleteIndication;
typedef struct _stIM_SFHostNotify { struct bcm_stim_sfhostnotify {
B_UINT32 SFID; /* SFID of the service flow */ B_UINT32 SFID; /* SFID of the service flow */
B_UINT16 newCID; /* the new/changed CID */ B_UINT16 newCID; /* the new/changed CID */
B_UINT16 VCID; /* Get new Vcid if the flow has been made active in CID update TLV, but was inactive earlier or the orig vcid */ B_UINT16 VCID; /* Get new Vcid if the flow has been made active in CID update TLV, but was inactive earlier or the orig vcid */
B_UINT8 RetainSF; /* Indication to Host if the SF is to be retained or deleted; if TRUE-retain else delete */ B_UINT8 RetainSF; /* Indication to Host if the SF is to be retained or deleted; if TRUE-retain else delete */
B_UINT8 QoSParamSet; /* QoS paramset of the retained SF */ B_UINT8 QoSParamSet; /* QoS paramset of the retained SF */
B_UINT16 u16reserved; /* For byte alignment */ B_UINT16 u16reserved; /* For byte alignment */
} stIM_SFHostNotify; };
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment