From: Arend van Spriel Date: Mon, 6 Jan 2014 11:40:49 +0000 (+0100) Subject: brcmfmac: use custom destructor callback for all netdevice interfaces X-Git-Tag: v3.14-rc1~94^2~238^2^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9df4d542fc716fa2235d20afd086d78253901612;p=pandora-kernel.git brcmfmac: use custom destructor callback for all netdevice interfaces The destructor for net devices was set to free_netdev() to get rid of it and the private data. The private data refers to a brcmf_if instance, but indirectly it also refers to brcmf_cfg80211_vif which holds the wdev. This is freed as well by using a new custom destructor called brcmf_cfg80211_free_netdev(). Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed