]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: ks7010: move WLAN_EID_DS_PARAMS to different place inside switch
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 4 May 2018 04:16:32 +0000 (06:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 01:58:39 +0000 (18:58 -0700)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c

index 366801f57676bf1b5380d66d075027db11d552c7..8bd27978544b3f48ff96fee86da895b1dd4f5364 100644 (file)
@@ -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: