STA: Configure MSCS and SCS enable/disable only when needed

STAUT can receive the CAPI command to enable SCS and MSCS though the
expectation is to enable those features OOB. But SCSSupport and
MSCSSupport CAPI arguments fail if wpa_supplicant is compiled without
CONFIG_TESTING_OPTIONS=y.

To avoid the test case failures in DUT mode, set SCSSupport and
MSCSSupport options only if needed. Both of these features are enabled
at the beginning of every testcase in sta_reset_default and hence there
is no need of explicitly enabling them if they were not disabled earlier
in the testcase.

Also remove the unnecessary SET commands in sta_reset_default since
wpa_supplicant is clearing disable_scs_support and disable_mscs_support
on receiving the FLUSH command.

Signed-off-by: Shivani Baranwal <shivbara@codeaurora.org>
2 files changed