Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41047841 authored by YU Bo's avatar YU Bo Committed by Greg Kroah-Hartman
Browse files

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: default avatarBo Yu <tsu.yubo@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ef6687c6
Loading
Loading
Loading
Loading
+253 −253
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ static struct mibrec mibtab[] = {
	{0, 0, 0, 0, 0, NULL}
};

/*----------------------------------------------------------------
/*
 * prism2mgmt_mibset_mibget
 *
 * Set the value of a mib item.
@@ -255,7 +255,7 @@ static struct mibrec mibtab[] = {
 * Call context:
 *	process thread  (usually)
 *	interrupt
----------------------------------------------------------------*/
 */

int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp)
{
@@ -346,7 +346,7 @@ int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp)
	return 0;
}

/*----------------------------------------------------------------
/*
 * prism2mib_bytearea2pstr
 *
 * Get/set pstr data to/from a byte area.
@@ -369,7 +369,7 @@ int prism2mgmt_mibset_mibget(wlandevice_t *wlandev, void *msgp)
 *       0   - Success.
 *       ~0  - Error.
 *
----------------------------------------------------------------*/
 */

static int prism2mib_bytearea2pstr(struct mibrec *mib,
				   int isget,
@@ -396,7 +396,7 @@ static int prism2mib_bytearea2pstr(struct mibrec *mib,
	return result;
}

/*----------------------------------------------------------------
/*
 * prism2mib_uint32
 *
 * Get/set uint32 data.
@@ -419,7 +419,7 @@ static int prism2mib_bytearea2pstr(struct mibrec *mib,
 *       0   - Success.
 *       ~0  - Error.
 *
----------------------------------------------------------------*/
 */

static int prism2mib_uint32(struct mibrec *mib,
			    int isget,
@@ -443,7 +443,7 @@ static int prism2mib_uint32(struct mibrec *mib,
	return result;
}

/*----------------------------------------------------------------
/*
 * prism2mib_flag
 *
 * Get/set a flag.
@@ -466,7 +466,7 @@ static int prism2mib_uint32(struct mibrec *mib,
 *       0   - Success.
 *       ~0  - Error.
 *
----------------------------------------------------------------*/
 */

static int prism2mib_flag(struct mibrec *mib,
			  int isget,
@@ -500,7 +500,7 @@ static int prism2mib_flag(struct mibrec *mib,
	return result;
}

/*----------------------------------------------------------------
/*
 * prism2mib_wepdefaultkey
 *
 * Get/set WEP default keys.
@@ -523,7 +523,7 @@ static int prism2mib_flag(struct mibrec *mib,
 *       0   - Success.
 *       ~0  - Error.
 *
----------------------------------------------------------------*/
 */

static int prism2mib_wepdefaultkey(struct mibrec *mib,
				   int isget,
@@ -550,7 +550,7 @@ static int prism2mib_wepdefaultkey(struct mibrec *mib,
	return result;
}

/*----------------------------------------------------------------
/*
 * prism2mib_privacyinvoked
 *
 * Get/set the dot11PrivacyInvoked value.
@@ -573,7 +573,7 @@ static int prism2mib_wepdefaultkey(struct mibrec *mib,
 *       0   - Success.
 *       ~0  - Error.
 *
----------------------------------------------------------------*/
 */

static int prism2mib_privacyinvoked(struct mibrec *mib,
				    int isget,
@@ -592,7 +592,7 @@ static int prism2mib_privacyinvoked(struct mibrec *mib,
	return prism2mib_flag(mib, isget, wlandev, hw, msg, data);
}

/*----------------------------------------------------------------
/*
 * prism2mib_excludeunencrypted
 *
 * Get/set the dot11ExcludeUnencrypted value.
@@ -615,7 +615,7 @@ static int prism2mib_privacyinvoked(struct mibrec *mib,
 *       0   - Success.
 *       ~0  - Error.
 *
----------------------------------------------------------------*/
 */

static int prism2mib_excludeunencrypted(struct mibrec *mib,
					int isget,
@@ -628,7 +628,7 @@ static int prism2mib_excludeunencrypted(struct mibrec *mib,
	return prism2mib_flag(mib, isget, wlandev, hw, msg, data);
}

/*----------------------------------------------------------------
/*
 * prism2mib_fragmentationthreshold
 *
 * Get/set the fragmentation threshold.
@@ -651,7 +651,7 @@ static int prism2mib_excludeunencrypted(struct mibrec *mib,
 *       0   - Success.
 *       ~0  - Error.
 *
----------------------------------------------------------------*/
 */

static int prism2mib_fragmentationthreshold(struct mibrec *mib,
					    int isget,
@@ -674,7 +674,7 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib,
	return prism2mib_uint32(mib, isget, wlandev, hw, msg, data);
}

/*----------------------------------------------------------------
/*
 * prism2mib_priv
 *
 * Get/set values in the "priv" data structure.
@@ -697,7 +697,7 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib,
 *       0   - Success.
 *       ~0  - Error.
 *
----------------------------------------------------------------*/
 */

static int prism2mib_priv(struct mibrec *mib,
			  int isget,
@@ -736,7 +736,7 @@ static int prism2mib_priv(struct mibrec *mib,
	return 0;
}

/*----------------------------------------------------------------
/*
 * prism2mgmt_pstr2bytestr
 *
 * Convert the pstr data in the WLAN message structure into an hfa384x
@@ -749,7 +749,7 @@ static int prism2mib_priv(struct mibrec *mib,
 * Returns:
 * 	Nothing
 *
----------------------------------------------------------------*/
 */

void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr,
			     p80211pstrd_t *pstr)
@@ -758,7 +758,7 @@ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr,
	memcpy(bytestr->data, pstr->data, pstr->len);
}

/*----------------------------------------------------------------
/*
 * prism2mgmt_bytestr2pstr
 *
 * Convert the data in an hfa384x byte string format into a
@@ -771,7 +771,7 @@ void prism2mgmt_pstr2bytestr(struct hfa384x_bytestr *bytestr,
 * Returns:
 *	Nothing
 *
----------------------------------------------------------------*/
 */

void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr,
			     p80211pstrd_t *pstr)
@@ -780,7 +780,7 @@ void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr,
	memcpy(pstr->data, bytestr->data, pstr->len);
}

/*----------------------------------------------------------------
/*
 * prism2mgmt_bytearea2pstr
 *
 * Convert the data in an hfa384x byte area format into a pstr
@@ -793,7 +793,7 @@ void prism2mgmt_bytestr2pstr(struct hfa384x_bytestr *bytestr,
 * Returns:
 *	Nothing
 *
----------------------------------------------------------------*/
 */

void prism2mgmt_bytearea2pstr(u8 *bytearea, p80211pstrd_t *pstr, int len)
{