Changeset 34295


Ignore:
Timestamp:
2012-11-21T21:27:06+01:00 (5 years ago)
Author:
florian
Message:

[package] hostapd: include sys/stat.h for a struct stat definition

Some libcs need this header to be explicitely included (e.g: musl)

Signed-off-by: Florian Fainelli <florian@…>

Location:
trunk/package/network/services/hostapd/patches
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/services/hostapd/patches/100-pending_work.patch

    r33919 r34295  
    8484                pos += 2; 
    8585        } 
    86 @@ -7698,6 +7698,10 @@ static int i802_set_wds_sta(void *priv,  
     86@@ -7698,6 +7698,10 @@ static int i802_set_wds_sta(void *priv, 
    8787                } 
    8888                return i802_set_sta_vlan(priv, addr, name, 0); 
  • trunk/package/network/services/hostapd/patches/500-random_pool_add_kernel.patch

    r33392 r34295  
    11--- a/src/crypto/random.c 
    22+++ b/src/crypto/random.c 
    3 @@ -33,6 +33,8 @@ 
     3@@ -25,6 +25,7 @@ 
     4 #include "utils/includes.h" 
     5 #ifdef __linux__ 
     6 #include <fcntl.h> 
     7+#include <sys/stat.h> 
     8 #endif /* __linux__ */ 
     9  
     10 #include "utils/common.h" 
     11@@ -33,6 +34,8 @@ 
    412 #include "sha1.h" 
    513 #include "random.h" 
     
    1018 #define POOL_WORDS_MASK (POOL_WORDS - 1) 
    1119 #define POOL_TAP1 26 
    12 @@ -43,6 +45,8 @@ 
     20@@ -43,6 +46,8 @@ 
    1321 #define EXTRACT_LEN 16 
    1422 #define MIN_READY_MARK 2 
     
    1927 static unsigned int input_rotate = 0; 
    2028 static unsigned int pool_pos = 0; 
    21 @@ -123,7 +127,7 @@ static void random_extract(u8 *out) 
     29@@ -123,7 +128,7 @@ static void random_extract(u8 *out) 
    2230 } 
    2331  
     
    2836        struct os_time t; 
    2937        static unsigned int count = 0; 
    30 @@ -213,16 +217,22 @@ int random_get_bytes(void *buf, size_t l 
     38@@ -213,16 +218,22 @@ int random_get_bytes(void *buf, size_t l 
    3139 int random_pool_ready(void) 
    3240 { 
     
    5260        /* 
    5361         * Try to fetch some more data from the kernel high quality 
    54 @@ -257,6 +267,7 @@ int random_pool_ready(void) 
     62@@ -257,6 +268,7 @@ int random_pool_ready(void) 
    5563        if (dummy_key_avail == sizeof(dummy_key)) { 
    5664                if (own_pool_ready < MIN_READY_MARK) 
     
    6068                return 1; 
    6169        } 
    62 @@ -269,6 +280,7 @@ int random_pool_ready(void) 
     70@@ -269,6 +281,7 @@ int random_pool_ready(void) 
    6371            total_collected + 10 * own_pool_ready > MIN_COLLECT_ENTROPY) { 
    6472                wpa_printf(MSG_INFO, "random: Allow operation to proceed " 
     
    6876        } 
    6977  
    70 @@ -284,10 +296,16 @@ int random_pool_ready(void) 
     78@@ -284,10 +297,16 @@ int random_pool_ready(void) 
    7179  
    7280 void random_mark_pool_ready(void) 
     
    8593  
    8694  
    87 @@ -444,3 +462,22 @@ void random_deinit(void) 
     95@@ -444,3 +463,22 @@ void random_deinit(void) 
    8896        os_free(random_entropy_file); 
    8997        random_entropy_file = NULL; 
  • trunk/package/network/services/hostapd/patches/550-limit_debug_messages.patch

    r31515 r34295  
    166166 /** 
    167167  * wpa_hexdump_ascii_key - conditional hex dump, hide keys 
    168 @@ -138,8 +173,14 @@ void wpa_hexdump_ascii(int level, const  
     168@@ -138,8 +173,14 @@ void wpa_hexdump_ascii(int level, const 
    169169  * bytes per line will be shown. This works like wpa_hexdump_ascii(), but by 
    170170  * default, does not include secret keys (passwords, etc.) in debug output. 
  • trunk/package/network/services/hostapd/patches/580-fix_bss_addr.patch

    r33392 r34295  
    11--- a/src/drivers/driver_nl80211.c 
    22+++ b/src/drivers/driver_nl80211.c 
    3 @@ -7738,7 +7738,7 @@ static int i802_set_wds_sta(void *priv,  
     3@@ -7738,7 +7738,7 @@ static int i802_set_wds_sta(void *priv, 
    44                if (!if_nametoindex(name)) { 
    55                        if (nl80211_create_iface(drv, name, 
Note: See TracChangeset for help on using the changeset viewer.