commit | 9feadba141a8244055c67ed3b508611a02ea8953 | [log] [tgz] |
---|---|---|
author | Jouni Malinen <j@w1.fi> | Sun Mar 01 22:15:44 2015 +0200 |
committer | Jouni Malinen <j@w1.fi> | Sun Mar 01 22:36:53 2015 +0200 |
tree | 7404d46cf8ac5af15ed6abec500134abab78eb44 | |
parent | bfc048b48f490a828f3bffd7c8b397dc131fc17c [diff] |
Remove unnecessary NULL check to make function more consistent Static analyzers may warn about dereference before NULL check in wpas_network_disabled() due to the new code added to check wpa_s->p2p_mgmt. wpa_s cannot be NULL here, so remove the unneeded check for it later in the function. (CID 106124) Signed-off-by: Jouni Malinen <j@w1.fi>