Add missing netreg_query entries to libgsmd includes and libgsmd-tool help.
Index: include/libgsmd/misc.h
===================================================================
--- include/libgsmd/misc.h	(revision 3969)
+++ include/libgsmd/misc.h	(working copy)
@@ -41,6 +41,7 @@
 extern int lgsm_netreg_register(struct lgsm_handle *lh,
 		gsmd_oper_numeric oper);
 extern int lgsm_netreg_deregister(struct lgsm_handle *lh);
+extern int lgsm_netreg_query(struct lgsm_handle *lh);
 
 enum lgsm_netreg_state {
 	LGSM_NETREG_ST_NOTREG		= 0,
Index: src/util/shell.c
===================================================================
--- src/util/shell.c	(revision 3969)
+++ src/util/shell.c	(working copy)
@@ -527,6 +527,7 @@
 		"\tN\tPrint current operator in numeric\n"
 		"\tL\tList available operators\n"
 		"\tQ\tRead signal quality\n"
+		"\tnr\tQuery network registration\n"
 		"\tS\tSleep (S[=second], default 5)\n"
 		"\tT\tSend DTMF Tone\n"
 		"\tn\tPrint subscriber numbers\n"

Reply via email to