diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2016-08-09 17:50:46 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-09-03 13:05:46 +0300 |
commit | 72539799104d4d70c2afcb8f0fe2a7a507a41c81 (patch) | |
tree | 4eb282e1febf0ec6afcdc91743753af095c35772 /drivers/net/wireless/marvell/mwifiex/main.c | |
parent | 41960b4dfdfce7d669dbec6a492202d1b18accb7 (diff) | |
download | linux-72539799104d4d70c2afcb8f0fe2a7a507a41c81.tar.xz |
mwifiex: add custom regulatory domain support
This patch creates custom regulatory rules based on the information
received from firmware and enable them during wiphy registration.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/main.c')
-rw-r--r-- | drivers/net/wireless/marvell/mwifiex/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/main.c b/drivers/net/wireless/marvell/mwifiex/main.c index db4925db39aa..51d4dfcf1214 100644 --- a/drivers/net/wireless/marvell/mwifiex/main.c +++ b/drivers/net/wireless/marvell/mwifiex/main.c @@ -139,6 +139,8 @@ static int mwifiex_unregister(struct mwifiex_adapter *adapter) adapter->nd_info = NULL; } + kfree(adapter->regd); + vfree(adapter->chan_stats); kfree(adapter); return 0; |