From 237baeebc161fbdefeca34e6a832c73280ad55e4 Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Thu, 10 May 2018 13:22:18 -0700 Subject: [PATCH] qcacld-3.0: Return success in wlan_hdd_cfg80211_register_frames Currently wlan_hdd_cfg80211_register_frames falls through to error handling at the end of the success path. Return success instead. Change-Id: I28eda918d3d5858cc42ef3958abe918b9ed788e9 CRs-Fixed: 2240003 --- core/hdd/src/wlan_hdd_cfg80211.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/hdd/src/wlan_hdd_cfg80211.c b/core/hdd/src/wlan_hdd_cfg80211.c index 7d183271feab..5eccfb2c4ea4 100644 --- a/core/hdd/src/wlan_hdd_cfg80211.c +++ b/core/hdd/src/wlan_hdd_cfg80211.c @@ -15689,6 +15689,8 @@ int wlan_hdd_cfg80211_register_frames(struct hdd_adapter *adapter) goto dereg_wnm_bss_action_frm; } + return 0; + dereg_wnm_bss_action_frm: sme_deregister_mgmt_frame(hHal, SME_SESSION_ID_ANY, type, (uint8_t *) WNM_BSS_ACTION_FRAME,