Browse Source

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
Dustin Brown 7 năm trước cách đây
mục cha
commit
237baeebc1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      core/hdd/src/wlan_hdd_cfg80211.c

+ 2 - 0
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,