commit | 0a266177ff500572b5893dde45522e6164316eb6 | [log] [tgz] |
---|---|---|
author | Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org> | Tue May 01 17:55:59 2018 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Fri May 18 00:00:15 2018 -0700 |
tree | 16f710a342c6de74e72cceb623a51876e196957c | |
parent | 8a44b64ba4e24892900cca09d5137ac1a9148722 [diff] |
qcacld-3.0: Avoid NULL pointer exception in wlan_hdd_allow_sap_add() When trying to add multiple softap interfaces, sanity checks in wlan_hdd_allow_sap_add() are trying to access dev in adapter without NULL check which can lead to NULL pointer exception. To fix this, add NULL check for dev before access of its attributes. Change-Id: I57577da1b60443a42e273f87e9f4feac123bc686 CRs-Fixed: 2232394