Staging: wlan-ng: Fix trailing */ in block comments.

Fix checkpatch.pl warning:

WARNING: Block comments use a trailing */ on a separate line.

Signed-off-by: Bo Yu <tsu.yubo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
YU Bo 2016-05-11 22:29:44 +08:00 committed by Greg Kroah-Hartman
parent ef6687c627
commit 410478415c
1 changed files with 253 additions and 253 deletions

View File

@ -237,25 +237,25 @@ static struct mibrec mibtab[] = {
{0, 0, 0, 0, 0, NULL} {0, 0, 0, 0, 0, NULL}
}; };
/*---------------------------------------------------------------- /*
* prism2mgmt_mibset_mibget * prism2mgmt_mibset_mibget
* *
* Set the value of a mib item. * Set the value of a mib item.
* *
* Arguments: * Arguments:
* wlandev wlan device structure * wlandev wlan device structure
* msgp ptr to msg buffer * msgp ptr to msg buffer
* *
* Returns: * Returns:
* 0 success and done * 0 success and done
* <0 success, but we're waiting for something to finish. * <0 success, but we're waiting for something to finish.
* >0 an error occurred while handling the message. * >0 an error occurred while handling the message.
* Side effects: * Side effects:
* *
* Call context: * Call context:
* process thread (usually) * process thread (usually)
* interrupt * interrupt
----------------------------------------------------------------*/ */
int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp) int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp)
{ {
@ -346,30 +346,30 @@ done:
return 0; return 0;
} }
/*---------------------------------------------------------------- /*
* prism2mib_bytearea2pstr * prism2mib_bytearea2pstr
* *
* Get/set pstr data to/from a byte area. * Get/set pstr data to/from a byte area.
* *
* MIB record parameters: * MIB record parameters:
* parm1 Prism2 RID value. * parm1 Prism2 RID value.
* parm2 Number of bytes of RID data. * parm2 Number of bytes of RID data.
* parm3 Not used. * parm3 Not used.
* *
* Arguments: * Arguments:
* mib MIB record. * mib MIB record.
* isget MIBGET/MIBSET flag. * isget MIBGET/MIBSET flag.
* wlandev wlan device structure. * wlandev wlan device structure.
* priv "priv" structure. * priv "priv" structure.
* hw "hw" structure. * hw "hw" structure.
* msg Message structure. * msg Message structure.
* data Data buffer. * data Data buffer.
* *
* Returns: * Returns:
* 0 - Success. * 0 - Success.
* ~0 - Error. * ~0 - Error.
* *
----------------------------------------------------------------*/ */
static int prism2mib_bytearea2pstr(struct mibrec *mib, static int prism2mib_bytearea2pstr(struct mibrec *mib,
int isget, int isget,
@ -396,30 +396,30 @@ static int prism2mib_bytearea2pstr(struct mibrec *mib,
return result; return result;
} }
/*---------------------------------------------------------------- /*
* prism2mib_uint32 * prism2mib_uint32
* *
* Get/set uint32 data. * Get/set uint32 data.
* *
* MIB record parameters: * MIB record parameters:
* parm1 Prism2 RID value. * parm1 Prism2 RID value.
* parm2 Not used. * parm2 Not used.
* parm3 Not used. * parm3 Not used.
* *
* Arguments: * Arguments:
* mib MIB record. * mib MIB record.
* isget MIBGET/MIBSET flag. * isget MIBGET/MIBSET flag.
* wlandev wlan device structure. * wlandev wlan device structure.
* priv "priv" structure. * priv "priv" structure.
* hw "hw" structure. * hw "hw" structure.
* msg Message structure. * msg Message structure.
* data Data buffer. * data Data buffer.
* *
* Returns: * Returns:
* 0 - Success. * 0 - Success.
* ~0 - Error. * ~0 - Error.
* *
----------------------------------------------------------------*/ */
static int prism2mib_uint32(struct mibrec *mib, static int prism2mib_uint32(struct mibrec *mib,
int isget, int isget,
@ -443,30 +443,30 @@ static int prism2mib_uint32(struct mibrec *mib,
return result; return result;
} }
/*---------------------------------------------------------------- /*
* prism2mib_flag * prism2mib_flag
* *
* Get/set a flag. * Get/set a flag.
* *
* MIB record parameters: * MIB record parameters:
* parm1 Prism2 RID value. * parm1 Prism2 RID value.
* parm2 Bit to get/set. * parm2 Bit to get/set.
* parm3 Not used. * parm3 Not used.
* *
* Arguments: * Arguments:
* mib MIB record. * mib MIB record.
* isget MIBGET/MIBSET flag. * isget MIBGET/MIBSET flag.
* wlandev wlan device structure. * wlandev wlan device structure.
* priv "priv" structure. * priv "priv" structure.
* hw "hw" structure. * hw "hw" structure.
* msg Message structure. * msg Message structure.
* data Data buffer. * data Data buffer.
* *
* Returns: * Returns:
* 0 - Success. * 0 - Success.
* ~0 - Error. * ~0 - Error.
* *
----------------------------------------------------------------*/ */
static int prism2mib_flag(struct mibrec *mib, static int prism2mib_flag(struct mibrec *mib,
int isget, int isget,
@ -500,30 +500,30 @@ static int prism2mib_flag(struct mibrec *mib,
return result; return result;
} }
/*---------------------------------------------------------------- /*
* prism2mib_wepdefaultkey * prism2mib_wepdefaultkey
* *
* Get/set WEP default keys. * Get/set WEP default keys.
* *
* MIB record parameters: * MIB record parameters:
* parm1 Prism2 RID value. * parm1 Prism2 RID value.
* parm2 Number of bytes of RID data. * parm2 Number of bytes of RID data.
* parm3 Not used. * parm3 Not used.
* *
* Arguments: * Arguments:
* mib MIB record. * mib MIB record.
* isget MIBGET/MIBSET flag. * isget MIBGET/MIBSET flag.
* wlandev wlan device structure. * wlandev wlan device structure.
* priv "priv" structure. * priv "priv" structure.
* hw "hw" structure. * hw "hw" structure.
* msg Message structure. * msg Message structure.
* data Data buffer. * data Data buffer.
* *
* Returns: * Returns:
* 0 - Success. * 0 - Success.
* ~0 - Error. * ~0 - Error.
* *
----------------------------------------------------------------*/ */
static int prism2mib_wepdefaultkey(struct mibrec *mib, static int prism2mib_wepdefaultkey(struct mibrec *mib,
int isget, int isget,
@ -550,30 +550,30 @@ static int prism2mib_wepdefaultkey(struct mibrec *mib,
return result; return result;
} }
/*---------------------------------------------------------------- /*
* prism2mib_privacyinvoked * prism2mib_privacyinvoked
* *
* Get/set the dot11PrivacyInvoked value. * Get/set the dot11PrivacyInvoked value.
* *
* MIB record parameters: * MIB record parameters:
* parm1 Prism2 RID value. * parm1 Prism2 RID value.
* parm2 Bit value for PrivacyInvoked flag. * parm2 Bit value for PrivacyInvoked flag.
* parm3 Not used. * parm3 Not used.
* *
* Arguments: * Arguments:
* mib MIB record. * mib MIB record.
* isget MIBGET/MIBSET flag. * isget MIBGET/MIBSET flag.
* wlandev wlan device structure. * wlandev wlan device structure.
* priv "priv" structure. * priv "priv" structure.
* hw "hw" structure. * hw "hw" structure.
* msg Message structure. * msg Message structure.
* data Data buffer. * data Data buffer.
* *
* Returns: * Returns:
* 0 - Success. * 0 - Success.
* ~0 - Error. * ~0 - Error.
* *
----------------------------------------------------------------*/ */
static int prism2mib_privacyinvoked(struct mibrec *mib, static int prism2mib_privacyinvoked(struct mibrec *mib,
int isget, int isget,
@ -592,30 +592,30 @@ static int prism2mib_privacyinvoked(struct mibrec *mib,
return prism2mib_flag(mib, isget, wlandev, hw, msg, data); return prism2mib_flag(mib, isget, wlandev, hw, msg, data);
} }
/*---------------------------------------------------------------- /*
* prism2mib_excludeunencrypted * prism2mib_excludeunencrypted
* *
* Get/set the dot11ExcludeUnencrypted value. * Get/set the dot11ExcludeUnencrypted value.
* *
* MIB record parameters: * MIB record parameters:
* parm1 Prism2 RID value. * parm1 Prism2 RID value.
* parm2 Bit value for ExcludeUnencrypted flag. * parm2 Bit value for ExcludeUnencrypted flag.
* parm3 Not used. * parm3 Not used.
* *
* Arguments: * Arguments:
* mib MIB record. * mib MIB record.
* isget MIBGET/MIBSET flag. * isget MIBGET/MIBSET flag.
* wlandev wlan device structure. * wlandev wlan device structure.
* priv "priv" structure. * priv "priv" structure.
* hw "hw" structure. * hw "hw" structure.
* msg Message structure. * msg Message structure.
* data Data buffer. * data Data buffer.
* *
* Returns: * Returns:
* 0 - Success. * 0 - Success.
* ~0 - Error. * ~0 - Error.
* *
----------------------------------------------------------------*/ */
static int prism2mib_excludeunencrypted(struct mibrec *mib, static int prism2mib_excludeunencrypted(struct mibrec *mib,
int isget, int isget,
@ -628,30 +628,30 @@ static int prism2mib_excludeunencrypted(struct mibrec *mib,
return prism2mib_flag(mib, isget, wlandev, hw, msg, data); return prism2mib_flag(mib, isget, wlandev, hw, msg, data);
} }
/*---------------------------------------------------------------- /*
* prism2mib_fragmentationthreshold * prism2mib_fragmentationthreshold
* *
* Get/set the fragmentation threshold. * Get/set the fragmentation threshold.
* *
* MIB record parameters: * MIB record parameters:
* parm1 Prism2 RID value. * parm1 Prism2 RID value.
* parm2 Not used. * parm2 Not used.
* parm3 Not used. * parm3 Not used.
* *
* Arguments: * Arguments:
* mib MIB record. * mib MIB record.
* isget MIBGET/MIBSET flag. * isget MIBGET/MIBSET flag.
* wlandev wlan device structure. * wlandev wlan device structure.
* priv "priv" structure. * priv "priv" structure.
* hw "hw" structure. * hw "hw" structure.
* msg Message structure. * msg Message structure.
* data Data buffer. * data Data buffer.
* *
* Returns: * Returns:
* 0 - Success. * 0 - Success.
* ~0 - Error. * ~0 - Error.
* *
----------------------------------------------------------------*/ */
static int prism2mib_fragmentationthreshold(struct mibrec *mib, static int prism2mib_fragmentationthreshold(struct mibrec *mib,
int isget, int isget,
@ -674,30 +674,30 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib,
return prism2mib_uint32(mib, isget, wlandev, hw, msg, data); return prism2mib_uint32(mib, isget, wlandev, hw, msg, data);
} }
/*---------------------------------------------------------------- /*
* prism2mib_priv * prism2mib_priv
* *
* Get/set values in the "priv" data structure. * Get/set values in the "priv" data structure.
* *
* MIB record parameters: * MIB record parameters:
* parm1 Not used. * parm1 Not used.
* parm2 Not used. * parm2 Not used.
* parm3 Not used. * parm3 Not used.
* *
* Arguments: * Arguments:
* mib MIB record. * mib MIB record.
* isget MIBGET/MIBSET flag. * isget MIBGET/MIBSET flag.
* wlandev wlan device structure. * wlandev wlan device structure.
* priv "priv" structure. * priv "priv" structure.
* hw "hw" structure. * hw "hw" structure.
* msg Message structure. * msg Message structure.
* data Data buffer. * data Data buffer.
* *
* Returns: * Returns:
* 0 - Success. * 0 - Success.
* ~0 - Error. * ~0 - Error.
* *
----------------------------------------------------------------*/ */
static int prism2mib_priv(struct mibrec *mib, static int prism2mib_priv(struct mibrec *mib,
int isget, int isget,
@ -736,20 +736,20 @@ static int prism2mib_priv(struct mibrec *mib,
return 0; return 0;
} }
/*---------------------------------------------------------------- /*
* prism2mgmt_pstr2bytestr * prism2mgmt_pstr2bytestr
* *
* Convert the pstr data in the WLAN message structure into an hfa384x * Convert the pstr data in the WLAN message structure into an hfa384x
* byte string format. * byte string format.
* *
* Arguments: * Arguments:
* bytestr hfa384x byte string data type * bytestr hfa384x byte string data type
* pstr wlan message data * pstr wlan message data
* *
* Returns: * Returns:
* Nothing * Nothing
* *
----------------------------------------------------------------*/ */
void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr, void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr,
p80211pstrd_t *pstr) p80211pstrd_t *pstr)
@ -758,20 +758,20 @@ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr,
memcpy(bytestr->data, pstr->data, pstr->len); memcpy(bytestr->data, pstr->data, pstr->len);
} }
/*---------------------------------------------------------------- /*
* prism2mgmt_bytestr2pstr * prism2mgmt_bytestr2pstr
* *
* Convert the data in an hfa384x byte string format into a * Convert the data in an hfa384x byte string format into a
* pstr in the WLAN message. * pstr in the WLAN message.
* *
* Arguments: * Arguments:
* bytestr hfa384x byte string data type * bytestr hfa384x byte string data type
* msg wlan message * msg wlan message
* *
* Returns: * Returns:
* Nothing * Nothing
* *
----------------------------------------------------------------*/ */
void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr, void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr,
p80211pstrd_t *pstr) p80211pstrd_t *pstr)
@ -780,20 +780,20 @@ void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr,
memcpy(pstr->data, bytestr->data, pstr->len); memcpy(pstr->data, bytestr->data, pstr->len);
} }
/*---------------------------------------------------------------- /*
* prism2mgmt_bytearea2pstr * prism2mgmt_bytearea2pstr
* *
* Convert the data in an hfa384x byte area format into a pstr * Convert the data in an hfa384x byte area format into a pstr
* in the WLAN message. * in the WLAN message.
* *
* Arguments: * Arguments:
* bytearea hfa384x byte area data type * bytearea hfa384x byte area data type
* msg wlan message * msg wlan message
* *
* Returns: * Returns:
* Nothing * Nothing
* *
----------------------------------------------------------------*/ */
void prism2mgmt_bytearea2pstr(u8 *bytearea, p80211pstrd_t *pstr, int len) void prism2mgmt_bytearea2pstr(u8 *bytearea, p80211pstrd_t *pstr, int len)
{ {