diff options
author | Arend van Spriel <arend@broadcom.com> | 2013-05-27 21:09:57 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-05-28 13:43:09 -0400 |
commit | cbb371da233eb2b4c200010a5372579b880b4ae6 (patch) | |
tree | 11941df709d5c888ab9f90fcb9599557e9f7a61d /drivers/net/wan/hdlc_cisco.c | |
parent | 9390ace916b2fd866c1762b1cd16c276d8c8c890 (diff) | |
download | blackbird-op-linux-cbb371da233eb2b4c200010a5372579b880b4ae6.tar.gz blackbird-op-linux-cbb371da233eb2b4c200010a5372579b880b4ae6.zip |
brcmfmac: use struct net_device::destructor to remove interfaces
Upon deleting a P2P_CLIENT/GO interface the vif and consequently
the wdev is freed before the net_device is actually being unregistered
but cfg80211 still needs to access the wdev. Using destructor field
to free the net_device and vif.
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/wan/hdlc_cisco.c')
0 files changed, 0 insertions, 0 deletions