brcmfmac: get rid of struct brcmf_cfg80211_info::link_up attribute
authorArend van Spriel <arend@broadcom.com>
Wed, 28 Nov 2012 20:44:11 +0000 (21:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Nov 2012 19:00:29 +0000 (14:00 -0500)
commit903e0eeeb9b0d8c587ddd37fd6664a734f827b56
treebeeb91f3ae35cab9e5157c1616e82803e41aca4f
parentb6fc28a158076ca2764edc9a6d1e1402f56e1c0c
brcmfmac: get rid of struct brcmf_cfg80211_info::link_up attribute

This attribute indicates successful IBSS or AP connection has been
established. However, this no longer works for virtual interfaces.
As it turns out this attribute is identical to the CONNECTED bit
in struct brcmf_cfg80211_vif::sme_state. This patch removes the
attribute and rework some functions relying on it.

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