frame_relay: Send "Fuil Status" ENQUIRY after link recovers

If we are the 'user' side of FR and a link has just recovered,
we should ensure the next STATUS is for "full status".  This way
we learn about the present DLCs as quickly as possible, saving up
to 10 seconds of further delay in link recovery.

Related: OS#4999
Change-Id: I6f905a18a7d130a3c02b4a3e7a2a2dc24afc0ea1
diff --git a/src/gb/frame_relay.c b/src/gb/frame_relay.c
index 3a51700..03b847a 100644
--- a/src/gb/frame_relay.c
+++ b/src/gb/frame_relay.c
@@ -430,8 +430,12 @@
 
 		LOGPFRL(link, LOGL_NOTICE, "Link recovered\n");
 		link->state = true;
-		if (link->role == FR_ROLE_USER_EQUIPMENT)
+		if (link->role == FR_ROLE_USER_EQUIPMENT) {
+			/* make sure the next STATUS ENQUIRY is for a full
+			 * status report to get the configred DLCs ASAP */
+			link->polling_count = 0;
 			return;
+		}
 
 		llist_for_each_entry(dlc, &link->dlc_list, list) {
 			if (!dlc->add && !dlc->del)