Ignore:
Timestamp:
2011-04-02T21:44:47+02:00 (5 years ago)
Author:
nbd
Message:

hostapd: update to 20110402, fixes issues with non-QoS clients

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/hostapd/patches/560-disable_ctrl_iface_mib.patch

    r26261 r26414  
    5656--- a/wpa_supplicant/ctrl_iface.c 
    5757+++ b/wpa_supplicant/ctrl_iface.c 
    58 @@ -2885,6 +2885,7 @@ char * wpa_supplicant_ctrl_iface_process 
     58@@ -2896,6 +2896,7 @@ char * wpa_supplicant_ctrl_iface_process 
    5959                        reply_len = -1; 
    6060        } else if (os_strncmp(buf, "NOTE ", 5) == 0) { 
     
    6464                reply_len = wpa_sm_get_mib(wpa_s->wpa, reply, reply_size); 
    6565                if (reply_len >= 0) { 
    66 @@ -2896,6 +2897,7 @@ char * wpa_supplicant_ctrl_iface_process 
     66@@ -2907,6 +2908,7 @@ char * wpa_supplicant_ctrl_iface_process 
    6767                        else 
    6868                                reply_len += res; 
     
    7272                reply_len = wpa_supplicant_ctrl_iface_status( 
    7373                        wpa_s, buf + 6, reply, reply_size); 
    74 @@ -3189,6 +3191,7 @@ char * wpa_supplicant_ctrl_iface_process 
     74@@ -3200,6 +3202,7 @@ char * wpa_supplicant_ctrl_iface_process 
    7575                reply_len = wpa_supplicant_ctrl_iface_bss( 
    7676                        wpa_s, buf + 4, reply, reply_size); 
     
    8080                reply_len = ap_ctrl_iface_sta_first(wpa_s, reply, reply_size); 
    8181        } else if (os_strncmp(buf, "STA ", 4) == 0) { 
    82 @@ -3197,6 +3200,7 @@ char * wpa_supplicant_ctrl_iface_process 
     82@@ -3208,6 +3211,7 @@ char * wpa_supplicant_ctrl_iface_process 
    8383        } else if (os_strncmp(buf, "STA-NEXT ", 9) == 0) { 
    8484                reply_len = ap_ctrl_iface_sta_next(wpa_s, buf + 9, reply, 
     
    106106--- a/src/ap/ieee802_1x.c 
    107107+++ b/src/ap/ieee802_1x.c 
    108 @@ -1866,6 +1866,7 @@ static const char * bool_txt(Boolean boo 
     108@@ -1876,6 +1876,7 @@ static const char * bool_txt(Boolean boo 
    109109        return bool ? "TRUE" : "FALSE"; 
    110110 } 
     
    114114 int ieee802_1x_get_mib(struct hostapd_data *hapd, char *buf, size_t buflen) 
    115115 { 
    116 @@ -2017,6 +2018,7 @@ int ieee802_1x_get_mib_sta(struct hostap 
     116@@ -2027,6 +2028,7 @@ int ieee802_1x_get_mib_sta(struct hostap 
    117117        return len; 
    118118 } 
     
    124124--- a/src/ap/wpa_auth.c 
    125125+++ b/src/ap/wpa_auth.c 
    126 @@ -2470,6 +2470,7 @@ static int wpa_cipher_bits(int cipher) 
     126@@ -2491,6 +2491,7 @@ static int wpa_cipher_bits(int cipher) 
    127127        } 
    128128 } 
     
    132132 #define RSN_SUITE "%02x-%02x-%02x-%d" 
    133133 #define RSN_SUITE_ARG(s) \ 
    134 @@ -2633,7 +2634,7 @@ int wpa_get_mib_sta(struct wpa_state_mac 
     134@@ -2654,7 +2655,7 @@ int wpa_get_mib_sta(struct wpa_state_mac 
    135135  
    136136        return len; 
Note: See TracChangeset for help on using the changeset viewer.