We were not doing so before. Signed-off-by: Luis R. Rodriguez <lrodriguez@xxxxxxxxxxx> --- net/wireless/nl80211.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 04ef828..e5d9060 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -2806,9 +2806,12 @@ int nl80211_init(void) err = genl_register_mc_group(&nl80211_fam, &nl80211_scan_mcgrp); if (err) - goto err_out; + goto err_out_scan_mc; return 0; + + err_out_scan_mc: + genl_unregister_mc_group(&nl80211_fam, &nl80211_config_mcgrp); err_out: genl_unregister_family(&nl80211_fam); return err; -- 1.6.1.2.253.ga34a -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html