Ticket #1362: madwifi-gcc-2.95_v2.diff

File madwifi-gcc-2.95_v2.diff, 0.9 kB (added by anonymous, 2 years ago)
  • a/net80211/ieee80211.h

    old new  
    358358struct ieee80211_ie { 
    359359        u_int8_t id; 
    360360        u_int8_t len; 
    361         u_int8_t info[]; 
     361        u_int8_t info[0]; 
    362362} __packed; 
    363363 
    364364/*  
  • a/net80211/ieee80211_ioctl.h

    old new  
    634634struct ieee80211req_getset_appiebuf { 
    635635        u_int32_t       app_frmtype;            /* management frame type for which buffer is added */ 
    636636        u_int32_t       app_buflen;             /* application-supplied buffer length */ 
    637         u_int8_t        app_buf[];            /* application-supplied IE(s) */ 
     637        u_int8_t        app_buf[0];           /* application-supplied IE(s) */ 
    638638}; 
    639639 
    640640/* Flags ORed by application to set filter for receiving management frames */