brcmfmac: Use single function for channel to chanspec.
authorHante Meuleman <meuleman@broadcom.com>
Wed, 6 Feb 2013 17:40:44 +0000 (18:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 8 Feb 2013 19:51:34 +0000 (14:51 -0500)
commit1701261d070e2077867fd08efe7b5977e3a130f9
tree9206f7b65feb90b036861e85f301f542426e6961
parent7ee296027871c15aee7e1e48c372f854a837cd36
brcmfmac: Use single function for channel to chanspec.

Simplify code by using single function for converting channel to
chanspec. No need to set 40MHz flags, as they are not needed for
correct working in FW.

Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@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/wl_cfg80211.c
This page took 0.04538 seconds and 5 git commands to generate.