diff options
author | Arend van Spriel <arend@broadcom.com> | 2014-01-06 12:40:47 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-01-06 15:48:04 -0500 |
commit | 427dec5fc84d6d99f433a6eb008e97aea1757cfb (patch) | |
tree | 5c64499df887a7fb66d1992e2b4f9af7cbd694c2 /drivers/scsi/qla2xxx | |
parent | 43dffbc6be148030de1f4ee8d241f1384016c689 (diff) |
brcmfmac: move wiphy_unregister() call to brcmf_cfg80211_detach()
The wiphy_unregister() call was done in brcmf_free_vif() when the
last interface was being removed. This is not the obvious place to
do that. This patch moves it to the brcmf_cfg80211_detach(). This
removes the need to keep count of interfaces.
Reviewed-by: Hante Meuleman <meuleman@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/scsi/qla2xxx')
0 files changed, 0 insertions, 0 deletions