diff options
author | Arend van Spriel <arend@broadcom.com> | 2013-04-05 10:57:47 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-04-08 15:28:44 -0400 |
commit | 7fa2e3529c51f1c3590964c1746cc48d04cbc0ab (patch) | |
tree | 63d2d873d85812f0f12013b1a6919886ba5714bf /drivers/net/wireless/brcm80211/brcmfmac/p2p.c | |
parent | 5857f9c6a88845a7ae5be02582b6a07dab6ef7b4 (diff) |
brcmfmac: remove use of unconditional access of struct wireless_dev::netdev
With the introduction of the P2P_DEVICE interface type an instance of
struct wireless_dev does not always have a netdev assigned to it. Better
use container_of() construct to obtain internal structure and go from
there.
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/p2p.c')
0 files changed, 0 insertions, 0 deletions