Browse Source

Show mode=mesh in STATUS command

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu 8 years ago
parent
commit
cee0be7343
1 changed files with 4 additions and 0 deletions
  1. 4 0
      wpa_supplicant/ctrl_iface.c

+ 4 - 0
wpa_supplicant/ctrl_iface.c

@@ -1886,6 +1886,10 @@ static int wpa_supplicant_ctrl_iface_status(struct wpa_supplicant *wpa_s,
 						  "mode=P2P GO - group "
 						  "formation\n");
 				break;
+			case WPAS_MODE_MESH:
+				ret = os_snprintf(pos, end - pos,
+						  "mode=mesh\n");
+				break;
 			default:
 				ret = 0;
 				break;