Add missing function to the sensniff MAC
@@ -69,12 +69,19 @@ init(void)
on();
}
/*---------------------------------------------------------------------------*/
+static int
+max_payload(void)
+{
+ return 0;
+}
+/*---------------------------------------------------------------------------*/
const struct mac_driver sensniff_mac_driver = {
"sensniff-rdc",
init,
send,
input,
on,
- off
+ off,
+ max_payload,
};
/*---------------------------------------------------------------------------*/
