brcmfmac: remove mode from struct brcmf_cfg80211_conf
authorArend van Spriel <arend@broadcom.com>
Wed, 28 Nov 2012 20:44:12 +0000 (21:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Nov 2012 19:00:30 +0000 (14:00 -0500)
commit128ce3b6f3b5d3c59dd46de8fff6aef0c1d4ff51
tree4d39a5b27ecef09db1f2f5d6a2d77fe996777947
parent903e0eeeb9b0d8c587ddd37fd6664a734f827b56
brcmfmac: remove mode from struct brcmf_cfg80211_conf

The mode should be stored and used per virtual interface. Remove
the mode from device global structure and rework the code to use
the mode from brcmf_cfg80211_vif.

Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@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
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.h