commit | 6469f0ce285f0e512f5fbde6a96a01e7faa1e434 | [log] [tgz] |
---|---|---|
author | Sai Pavan Akhil Remella <quic_saipavan@quicinc.com> | Mon Dec 20 15:49:53 2021 +0530 |
committer | Jouni Malinen <quic_jouni@quicinc.com> | Wed Dec 22 00:13:46 2021 +0200 |
tree | e4807f6ee0dd47a226ab88d0f993cdd592e77012 | |
parent | 9cfc8d7155e285fe955802d763e8abd08d44227a [diff] |
AP: Get wiphy driver capabilities during start of sigma_dut Wiphy capabilities were fetched from ap_reset_default. Some test scripts are executed without invoking ap_reset_wireless. Hence, move the functionality of get_wiphy from cmd_ap_reset_default() to start of sigma_dut. In addition, add a NULL pointer check in nl80211_cmd() to avoid crash if netlink initialization failed. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>