Silence static analyzer on wpa_ctrl_open() argument

While all the existing callers of this function within sigma_dut use a
non-NULL ctrl_path argument, static analyzers may warn about the
"missing" ctrl_path NULL check within one of the paths in this function.
Silence this by using a single check at the beginning of the function.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
1 file changed