source: branches/backfire/package/hostapd/patches/330-multicall_bridge_fix.patch @ 29298

Last change on this file since 29298 was 29298, checked in by nbd, 5 years ago

hostapd: update to latest version from trunk (fixes #10455)

File size: 1.4 KB
  • src/drivers/driver_nl80211.c

    a b static void wpa_driver_nl80211_event_rtm 
    600600                return; 
    601601        } 
    602602 
     603        if (ifi->ifi_family == AF_BRIDGE && 
     604            drv->nlmode != NL80211_IFTYPE_AP) 
     605                return; 
     606 
    603607        wpa_printf(MSG_DEBUG, "RTM_NEWLINK: operstate=%d ifi_flags=0x%x " 
    604608                   "(%s%s%s%s)", 
    605609                   drv->operstate, ifi->ifi_flags, 
    static void wpa_driver_nl80211_event_rtm 
    692696        attrlen = len; 
    693697        attr = (struct rtattr *) buf; 
    694698 
     699        if (ifi->ifi_family == AF_BRIDGE && 
     700            drv->nlmode != NL80211_IFTYPE_AP) 
     701                return; 
     702 
    695703        rta_len = RTA_ALIGN(sizeof(struct rtattr)); 
    696704        while (RTA_OK(attr, attrlen)) { 
    697705                if (attr->rta_type == IFLA_IFNAME) { 
    static void * wpa_driver_nl80211_init(vo 
    22912299        drv->ap_scan_as_station = NL80211_IFTYPE_UNSPECIFIED; 
    22922300        drv->nlmode = NL80211_IFTYPE_STATION; 
    22932301 
     2302#ifdef HOSTAPD 
     2303        drv->num_if_indices = sizeof(drv->default_if_indices) / sizeof(int); 
     2304        drv->if_indices = drv->default_if_indices; 
     2305#endif 
     2306 
    22942307        if (wpa_driver_nl80211_init_nl(drv)) { 
    22952308                os_free(drv); 
    22962309                return NULL; 
    static void *i802_init(struct hostapd_da 
    65316544                br_ifindex = 0; 
    65326545        } 
    65336546 
    6534         drv->num_if_indices = sizeof(drv->default_if_indices) / sizeof(int); 
    6535         drv->if_indices = drv->default_if_indices; 
    65366547        for (i = 0; i < params->num_bridge; i++) { 
    65376548                if (params->bridge[i]) { 
    65386549                        ifindex = if_nametoindex(params->bridge[i]); 
Note: See TracBrowser for help on using the repository browser.