patch-2.4.11-dontuse linux/net/irda/irnet/irnet_ppp.c

Next file: linux/net/sched/cls_fw.c
Previous file: linux/net/irda/irnet/irnet_irda.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.10/linux/net/irda/irnet/irnet_ppp.c linux/net/irda/irnet/irnet_ppp.c
@@ -14,6 +14,7 @@
  */
 
 #include "irnet_ppp.h"		/* Private header */
+/* Please put other headers in irnet.h - Thanks */
 
 /************************* CONTROL CHANNEL *************************/
 /*
@@ -199,7 +200,8 @@
       __u16		mask = irlmp_service_to_hint(S_LAN);
 
       /* Ask IrLMP for the current discovery log */
-      ap->discoveries = irlmp_get_discoveries(&ap->disco_number, mask);
+      ap->discoveries = irlmp_get_discoveries(&ap->disco_number, mask,
+					      DISCOVERY_DEFAULT_SLOTS);
       /* Check if the we got some results */
       if(ap->discoveries == NULL)
 	ap->disco_number = -1;
@@ -1095,3 +1097,4 @@
   return ppp_irnet_cleanup();
 }
 #endif /* MODULE */
+MODULE_LICENSE("GPL");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)