All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
To: gregkh@linuxfoundation.org
Cc: driverdev-devel@linuxdriverproject.org, wsa@the-dreams.de
Subject: [PATCH 04/10] staging: ks7010: move WLAN_EID_DS_PARAMS to different place inside switch
Date: Sat, 28 Apr 2018 12:34:40 +0200	[thread overview]
Message-ID: <1524911686-27191-5-git-send-email-sergio.paracuellos@gmail.com> (raw)
In-Reply-To: <1524911686-27191-1-git-send-email-sergio.paracuellos@gmail.com>

WLAN_EID_DS_PARAMS case inside switch case is just doing nothing
and it is located inside other cases. There is a place inside
the switch with other don't do anything cases are located. Move
this to that place.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 366801f..8bd2797 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -232,8 +232,6 @@ int get_ap_information(struct ks_wlan_private *priv, struct ap_info *ap_info,
 				    (RATE_SET_MAX_SIZE - ap->rate_set.size);
 			}
 			break;
-		case WLAN_EID_DS_PARAMS:
-			break;
 		case WLAN_EID_RSN:
 			ap->rsn_ie.id = *bp;
 			ap->rsn_ie.size = read_ie(bp, RSN_IE_BODY_MAX,
@@ -247,7 +245,7 @@ int get_ap_information(struct ks_wlan_private *priv, struct ap_info *ap_info,
 							  ap->wpa_ie.body);
 			}
 			break;
-
+		case WLAN_EID_DS_PARAMS:
 		case WLAN_EID_FH_PARAMS:
 		case WLAN_EID_CF_PARAMS:
 		case WLAN_EID_TIM:
-- 
2.7.4

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

  parent reply	other threads:[~2018-04-28 10:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-28 10:34 [PATCH 00/10] cleanupas continue Sergio Paracuellos
2018-04-28 10:34 ` [PATCH 01/10] staging: ks7010: change type for rsn_enabled in wpa_status struct Sergio Paracuellos
2018-04-28 10:34 ` [PATCH 02/10] staging: ks7010: use ether_addr_copy to copy ethernet address sa_data Sergio Paracuellos
2018-04-28 10:34 ` [PATCH 03/10] staging: use ether_addr_copy in get_ap_information function Sergio Paracuellos
2018-04-28 10:34 ` Sergio Paracuellos [this message]
2018-04-28 10:34 ` [PATCH 05/10] staging: ks7010: factor out send_request_to_device function Sergio Paracuellos
2018-04-28 10:34 ` [PATCH 06/10] staging: ks7010: fix some style issues in ks_hostif.c Sergio Paracuellos
2018-04-28 10:34 ` [PATCH 07/10] staging: ks7010: add blank line between after definitions Sergio Paracuellos
2018-04-28 10:34 ` [PATCH 08/10] staging: ks7010: refactor hostif_sme_set_rsn function Sergio Paracuellos
2018-04-28 10:34 ` [PATCH 09/10] staging: ks7010: change parameter types in hostif_power_mgmt_request Sergio Paracuellos
2018-04-28 10:34 ` [PATCH 10/10] staging: ks7010: refactor hostif_sme_power_mgmt_set function Sergio Paracuellos
2018-04-29 13:16 ` [PATCH 00/10] cleanupas continue Greg KH

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=1524911686-27191-5-git-send-email-sergio.paracuellos@gmail.com \
    --to=sergio.paracuellos@gmail.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=wsa@the-dreams.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.