[OPW,kernel,05/13] staging: rtl8187se: fix comments over 80 characters
diff mbox

Message ID 1382316061-31542-6-git-send-email-teobaluta@gmail.com
State New, archived
Headers show

Commit Message

Teodora Baluta Oct. 21, 2013, 12:40 a.m. UTC
This patch rearranges comments that are over 80 characters.

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
---
 drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Comments

Josh Triplett Oct. 21, 2013, 7:02 p.m. UTC | #1
On Mon, Oct 21, 2013 at 03:40:53AM +0300, Teodora Baluta wrote:
> This patch rearranges comments that are over 80 characters.
> 
> Signed-off-by: Teodora Baluta <teobaluta@gmail.com>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

>  drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c |    8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> index af41f2c..10ebf58 100644
> --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
> @@ -186,7 +186,10 @@ int ieee80211_encrypt_fragment(
>  	struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx];
>  	int res;
>  
> - /*added to care about null crypt condition, to solve that system hangs when shared keys error*/
> +	/*
> +	 * added to care about null crypt condition, to solve that system hangs
> +	 * when shared keys error
> +	 */
>  	if (!crypt || !crypt->ops)
>  		return -1;
>  
> @@ -207,7 +210,8 @@ int ieee80211_encrypt_fragment(
>  	/* To encrypt, frame format is:
>  	 * IV (4 bytes), clear payload (including SNAP), ICV (4 bytes) */
>  
> -	/* PR: FIXME: Copied from hostap. Check fragmentation/MSDU/MPDU encryption. */
> +	/* PR: FIXME: Copied from hostap. Check fragmentation/MSDU/MPDU
> +	 * encryption. */
>  	/* Host-based IEEE 802.11 fragmentation for TX is not yet supported, so
>  	 * call both MSDU and MPDU encryption functions from here. */
>  	atomic_inc(&crypt->refcnt);
> -- 
> 1.7.10.4
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Patch
diff mbox

diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
index af41f2c..10ebf58 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
@@ -186,7 +186,10 @@  int ieee80211_encrypt_fragment(
 	struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx];
 	int res;
 
- /*added to care about null crypt condition, to solve that system hangs when shared keys error*/
+	/*
+	 * added to care about null crypt condition, to solve that system hangs
+	 * when shared keys error
+	 */
 	if (!crypt || !crypt->ops)
 		return -1;
 
@@ -207,7 +210,8 @@  int ieee80211_encrypt_fragment(
 	/* To encrypt, frame format is:
 	 * IV (4 bytes), clear payload (including SNAP), ICV (4 bytes) */
 
-	/* PR: FIXME: Copied from hostap. Check fragmentation/MSDU/MPDU encryption. */
+	/* PR: FIXME: Copied from hostap. Check fragmentation/MSDU/MPDU
+	 * encryption. */
 	/* Host-based IEEE 802.11 fragmentation for TX is not yet supported, so
 	 * call both MSDU and MPDU encryption functions from here. */
 	atomic_inc(&crypt->refcnt);