commit | cbb371da233eb2b4c200010a5372579b880b4ae6 | [log] [tgz] |
---|---|---|
author | Arend van Spriel <arend@broadcom.com> | Mon May 27 21:09:57 2013 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue May 28 13:43:09 2013 -0400 |
tree | 11941df709d5c888ab9f90fcb9599557e9f7a61d | |
parent | 9390ace916b2fd866c1762b1cd16c276d8c8c890 [diff] |
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>