mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Julius Hemanth P <juliushemanth@gmail.com>
To: gregkh@linuxfoundation.org, johnfwhitmore@gmail.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	juliushemanth@gmail.com
Subject: Re: [PATCH] staging: rtl8192u: ieee80211: ieee80211_wx: add space before open brace
Date: Wed, 27 Mar 2019 15:35:45 -0700	[thread overview]
Message-ID: <20190327223537.GA4786@gmail.com> (raw)
In-Reply-To: <20190327215327.GA2802@gmail.com>

On Wed, Mar 27, 2019 at 02:53:35PM -0700, Julius Hemanth Pitti wrote:
> Fix checkpatch error "ERROR: that open brace { should be on
> the previous line" in ieee80211_wx.c.
> 
> Signed-off-by: Julius Hemanth Pitti <juliushemanth@gmail.com>
> ---
>  drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c
> index fa59c71..ebcc642 100644
> --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c
> +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c
> @@ -195,7 +195,7 @@ static inline char *rtl819x_translate_scan(struct ieee80211_device *ieee,
>  	if (iwe.u.data.length)
>  	    start = iwe_stream_add_point(info, start, stop, &iwe, custom);
>  
> -	if (ieee->wpa_enabled && network->wpa_ie_len){
> +	if (ieee->wpa_enabled && network->wpa_ie_len) {
>  		char buf[MAX_WPA_IE_LEN * 2 + 30];
>  	//	printk("WPA IE\n");
>  		u8 *p = buf;
> @@ -210,7 +210,7 @@ static inline char *rtl819x_translate_scan(struct ieee80211_device *ieee,
>  		start = iwe_stream_add_point(info, start, stop, &iwe, buf);
>  	}
>  
> -	if (ieee->wpa_enabled && network->rsn_ie_len){
> +	if (ieee->wpa_enabled && network->rsn_ie_len) {
>  		char buf[MAX_WPA_IE_LEN * 2 + 30];
>  
>  		u8 *p = buf;
> @@ -766,15 +766,13 @@ int ieee80211_wx_set_auth(struct ieee80211_device *ieee,
>  	case IW_AUTH_80211_AUTH_ALG:
>  		//printk("======>%s():data->value is %d\n",__func__,data->value);
>  	//	ieee->open_wep = (data->value&IW_AUTH_ALG_OPEN_SYSTEM)?1:0;
> -		if(data->value & IW_AUTH_ALG_SHARED_KEY){
> +		if (data->value & IW_AUTH_ALG_SHARED_KEY) {
>  			ieee->open_wep = 0;
>  			ieee->auth_mode = 1;
> -		}
> -		else if(data->value & IW_AUTH_ALG_OPEN_SYSTEM){
> +		} else if (data->value & IW_AUTH_ALG_OPEN_SYSTEM) {
>  			ieee->open_wep = 1;
>  			ieee->auth_mode = 0;
> -		}
> -		else if(data->value & IW_AUTH_ALG_LEAP){
> +		} else if (data->value & IW_AUTH_ALG_LEAP) {
>  			ieee->open_wep = 1;
>  			ieee->auth_mode = 2;
>  		}
> -- 
> 2.7.4
>
Sorry for typo in commit message, please ignore this patch.
Will send updated one as v2.

      reply	other threads:[~2019-03-27 22:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-27 21:53 Julius Hemanth Pitti
2019-03-27 22:35 ` Julius Hemanth P [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190327223537.GA4786@gmail.com \
    --to=juliushemanth@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=johnfwhitmore@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®