commit | eceff0e413536af4c5ec61ad0c331f8b6a36ee94 | [log] [tgz] |
---|---|---|
author | Arun Khandavalli <akhandav@qti.qualcomm.com> | Tue Jul 12 16:13:53 2016 +0530 |
committer | Satyanarayana Dash <sadash@codeaurora.org> | Thu Jul 14 14:20:54 2016 +0530 |
tree | d49fe626eb0a99efae6e608a3b1c80b2b6e8cd13 | |
parent | 842eea8048b56288a320c262eedf40bb80dc00b6 [diff] |
wlan: Initialize the local variables correctly Currently, In the nl_srv_ucast & nl_srv_bcast functions, the local return variable is not initialized.So if there is any failure in sending the nl broadcast or unicast request the local return variable is updated with error code, but if the global socket structure is NULL garbage value will be returned. Hence intialize the local return variable with the -EINVAL. Change-Id: I89c34d43d985dee429f2a67f2942142c12a93482 CRs-Fixed: 1040564