Ignore:
Timestamp:
2011-05-30T16:01:37+02:00 (6 years ago)
Author:
nbd
Message:

hostapd: backport current version from trunk as of r27021

File:
1 edited

Legend:

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

    r26416 r27031  
    5656--- a/wpa_supplicant/ctrl_iface.c 
    5757+++ b/wpa_supplicant/ctrl_iface.c 
    58 @@ -2896,6 +2896,7 @@ char * wpa_supplicant_ctrl_iface_process 
     58@@ -2929,6 +2929,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 @@ -2907,6 +2908,7 @@ char * wpa_supplicant_ctrl_iface_process 
     66@@ -2940,6 +2941,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 @@ -3200,6 +3202,7 @@ char * wpa_supplicant_ctrl_iface_process 
     74@@ -3245,6 +3247,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 @@ -3208,6 +3211,7 @@ char * wpa_supplicant_ctrl_iface_process 
     82@@ -3253,6 +3256,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 @@ -1876,6 +1876,7 @@ static const char * bool_txt(Boolean boo 
     108@@ -1896,6 +1896,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 @@ -2027,6 +2028,7 @@ int ieee802_1x_get_mib_sta(struct hostap 
     116@@ -2047,6 +2048,7 @@ int ieee802_1x_get_mib_sta(struct hostap 
    117117        return len; 
    118118 } 
Note: See TracChangeset for help on using the changeset viewer.