提交 09f882b0 编写于 作者: A Arend van Spriel 提交者: 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: NRoland Vossen <rvossen@broadcom.com>
Reviewed-by: NPieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: NArend van Spriel <arend@broadcom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 cc1e1a1b
......@@ -6253,14 +6253,13 @@ _brcms_c_ioctl(struct brcms_c_info *wlc, int cmd, void *arg, int len,
/* merge rateset coming in with the current mcsset */
if (N_ENAB(wlc->pub)) {
struct brcms_bss_info *mcsset_bss;
if (bsscfg->associated)
memcpy(rs.mcs,
&current_bss->rateset.mcs[0],
MCSSET_LEN);
mcsset_bss = current_bss;
else
memcpy(rs.mcs,
&wlc->default_bss->rateset.mcs[0],
MCSSET_LEN);
mcsset_bss = wlc->default_bss;
memcpy(rs.mcs, &mcsset_bss->rateset.mcs[0],
MCSSET_LEN);
}
bcmerror = brcms_c_set_rateset(wlc, &rs);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册