staging: rtl8188eu: Fix comment formatting
Fix the following checkpatch warnings: WARNING: Block comments use * on subsequent lines WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Brooke Basile <brookebasile@gmail.com> Link: https://lore.kernel.org/r/20200626153639.8097-1-brookebasile@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
92cd1b5d65
commit
f00b2a2fcb
|
@ -139,9 +139,11 @@ u8 *rtw_set_ie
|
||||||
return pbuf + len + 2;
|
return pbuf + len + 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------
|
/*
|
||||||
index: the information element id index, limit is the limit for search
|
* ----------------------------------------------------------------------------
|
||||||
-----------------------------------------------------------------------------*/
|
* index: the information element id index, limit is the limit for search
|
||||||
|
* ----------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
u8 *rtw_get_ie(u8 *pbuf, int index, uint *len, int limit)
|
u8 *rtw_get_ie(u8 *pbuf, int index, uint *len, int limit)
|
||||||
{
|
{
|
||||||
int tmp, i;
|
int tmp, i;
|
||||||
|
@ -679,9 +681,11 @@ static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen,
|
||||||
{
|
{
|
||||||
unsigned int oui;
|
unsigned int oui;
|
||||||
|
|
||||||
/* first 3 bytes in vendor specific information element are the IEEE
|
/*
|
||||||
|
* first 3 bytes in vendor specific information element are the IEEE
|
||||||
* OUI of the vendor. The following byte is used a vendor specific
|
* OUI of the vendor. The following byte is used a vendor specific
|
||||||
* sub-type. */
|
* sub-type.
|
||||||
|
*/
|
||||||
if (elen < 4) {
|
if (elen < 4) {
|
||||||
if (show_errors) {
|
if (show_errors) {
|
||||||
DBG_88E("short vendor specific information element ignored (len=%lu)\n",
|
DBG_88E("short vendor specific information element ignored (len=%lu)\n",
|
||||||
|
@ -693,12 +697,16 @@ static int rtw_ieee802_11_parse_vendor_specific(u8 *pos, uint elen,
|
||||||
oui = RTW_GET_BE24(pos);
|
oui = RTW_GET_BE24(pos);
|
||||||
switch (oui) {
|
switch (oui) {
|
||||||
case OUI_MICROSOFT:
|
case OUI_MICROSOFT:
|
||||||
/* Microsoft/Wi-Fi information elements are further typed and
|
/*
|
||||||
* subtyped */
|
* Microsoft/Wi-Fi information elements are further typed and
|
||||||
|
* subtyped
|
||||||
|
*/
|
||||||
switch (pos[3]) {
|
switch (pos[3]) {
|
||||||
case 1:
|
case 1:
|
||||||
/* Microsoft OUI (00:50:F2) with OUI Type 1:
|
/*
|
||||||
* real WPA information element */
|
* Microsoft OUI (00:50:F2) with OUI Type 1:
|
||||||
|
* real WPA information element
|
||||||
|
*/
|
||||||
elems->wpa_ie = pos;
|
elems->wpa_ie = pos;
|
||||||
elems->wpa_ie_len = elen;
|
elems->wpa_ie_len = elen;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue