sta_disconnect: New maintain_profile argument

Do not remove the network profile if sta_disconnect is issued with the
new maintain_profile,1 argument.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
diff --git a/sta.c b/sta.c
index a3cc2a0..0561e64 100644
--- a/sta.c
+++ b/sta.c
@@ -4608,8 +4608,10 @@
 			      struct sigma_cmd *cmd)
 {
 	const char *intf = get_param(cmd, "Interface");
+	const char *val = get_param(cmd, "maintain_profile");
 
-	if (dut->program == PROGRAM_OCE) {
+	if (dut->program == PROGRAM_OCE ||
+	    (val && atoi(val) == 1)) {
 		wpa_command(intf, "DISCONNECT");
 		return 1;
 	}