[PATCH] Show MESH mode in status command

Saurav Babu saurav.babu at samsung.com
Wed Sep 21 07:25:26 PDT 2016


Signed-off-by: Saurav Babu <saurav.babu at samsung.com>
---
 wpa_supplicant/ctrl_iface.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
index ec74b6f..66520d8 100644
--- a/wpa_supplicant/ctrl_iface.c
+++ b/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;
-- 
1.9.1




More information about the Hostap mailing list