staging: brcm80211: removed redundant code from brcms_c_set_gmode
commitb2d62733e6ea427921e201269c1b55bca3a87936
authorAlwin Beukers <alwin@broadcom.com>
Tue, 4 Oct 2011 21:19:02 +0000 (4 23:19 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 5 Oct 2011 20:39:03 +0000 (5 13:39 -0700)
treeb929ebae37d7a6144238c092835f9dced3f3f50b
parent96b74847813ace67a7778c9f0c86958b17b36d3c
staging: brcm80211: removed redundant code from brcms_c_set_gmode

The comment says the rateset is being cleared when switching to GMODE_LEGACY_B,
but the code that follows it does not do so. Besides, the rateset is already
valid at this point.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/main.c