brcm80211: fmac: remove state from brcmf_if in fullmac
authorFranky Lin <frankyl@broadcom.com>
Fri, 21 Oct 2011 14:16:34 +0000 (16:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Nov 2011 20:54:25 +0000 (15:54 -0500)
commitd1a5b6fbecc52323acf05fa7881267071933c92e
tree321da86b935afb91ce523a4e5cfc3fcf11327544
parente1b835865c58e44ad16e5c85d1dc727991e2b0b3
brcm80211: fmac: remove state from brcmf_if in fullmac

The usage of state decrease readability. Optimize the code flow to
get rid of it

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: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd.h
drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c