From: Arend van Spriel Date: Mon, 27 May 2013 19:09:57 +0000 (+0200) Subject: brcmfmac: use struct net_device::destructor to remove interfaces X-Git-Tag: v3.10-rc5~25^2~26^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbb371da233eb2b4c200010a5372579b880b4ae6;p=pandora-kernel.git 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 Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed