diff options
author | Arend van Spriel <arend@broadcom.com> | 2014-09-12 00:51:32 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-15 23:09:26 +0400 |
commit | 8f2b45971b32824b830a544ed1d179215770b1eb (patch) | |
tree | be4e93ba6b3edb75da0ae6ea947e0f878b6f78de /drivers/virt | |
parent | f1d56039b58f6f786450a858b2c8d2459a3382cc (diff) | |
download | linux-8f2b45971b32824b830a544ed1d179215770b1eb.tar.xz |
brcmfmac: obtain ifp through wdev structure
For P2P_DEVICE interface the function brcmf_cfg80211_update_proto_addr_mode()
resulted in a crash, because it assumed wdev->netdev would be valid. The
ifp should be obtained through the driver vif structure which contains the
wireless_dev.
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions