Commit 09f882b0 authored by Arend van Spriel's avatar Arend van Spriel Committed by Greg Kroah-Hartman

staging: brcm80211: cleanup to get rid of 'over 80 character' line

One checkpatch warning was remaining in the brcmsmac driver. The
code has been restructured to get rid of this last checkpatch
warning.
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Reviewed-by: default avatarPieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cc1e1a1b
...@@ -6253,13 +6253,12 @@ _brcms_c_ioctl(struct brcms_c_info *wlc, int cmd, void *arg, int len, ...@@ -6253,13 +6253,12 @@ _brcms_c_ioctl(struct brcms_c_info *wlc, int cmd, void *arg, int len,
/* merge rateset coming in with the current mcsset */ /* merge rateset coming in with the current mcsset */
if (N_ENAB(wlc->pub)) { if (N_ENAB(wlc->pub)) {
struct brcms_bss_info *mcsset_bss;
if (bsscfg->associated) if (bsscfg->associated)
memcpy(rs.mcs, mcsset_bss = current_bss;
&current_bss->rateset.mcs[0],
MCSSET_LEN);
else else
memcpy(rs.mcs, mcsset_bss = wlc->default_bss;
&wlc->default_bss->rateset.mcs[0], memcpy(rs.mcs, &mcsset_bss->rateset.mcs[0],
MCSSET_LEN); MCSSET_LEN);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment