net: wireless: bcmdhd: Fix country code map mem leak
authorMichael Hsu <mhsu@nvidia.com>
Thu, 15 Oct 2015 02:14:52 +0000 (19:14 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 5 Nov 2015 01:14:26 +0000 (17:14 -0800)
commitea099107d8223e7acfaeea57acf22b8d2c8c3e41
tree6dbb07fbd9d4e18b904910edd60aa030ee29b867
parentf4ae92688be2e04fcc6e2a3bc0f978dd342e77f0
net: wireless: bcmdhd: Fix country code map mem leak

Free country code map buffer when adapter is removed.

Bug 200143482

Change-Id: Iab82b3b56ec07a99a3d3012b2931c51ddecbc502
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/817916
(cherry picked from commit acdfc670eae8d581075e3ca41064ab0bb8540d71)
Reviewed-on: http://git-master/r/823728
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/net/wireless/bcmdhd/dhd_linux_platdev.c