fix hostapd race condition which breaks wpa with madwifi
[openwrt.git] / tools / firmware-utils / src / mkfwimage.c
index 1ed7a01..1b255f8 100644 (file)
@@ -28,7 +28,7 @@
 #include <netinet/in.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <linux/limits.h>
+#include <limits.h>
 #include "fw.h"
 
 typedef struct part_data {
@@ -48,7 +48,7 @@ typedef struct part_data {
 #define DEFAULT_OUTPUT_FILE    "firmware-image.bin"
 #define DEFAULT_VERSION                "UNKNOWN"
 
-#define OPTIONS "hv:o:r:k:"
+#define OPTIONS "hv:o:r:k:s:"
 
 #define FIRMWARE_MAX_LENGTH    (0x390000)
 #define partition_startaddr    (0xBFC30000)
This page took 0.028806 seconds and 4 git commands to generate.