Changeset 31155 for trunk


Ignore:
Timestamp:
2012-04-01T07:32:32+02:00 (5 years ago)
Author:
jow
Message:

[package] libnl-tiny: port upstream bugfix 8ee16e6688657886f591f0841cb8e892743ecf2a from libnl, fixes error on hostapd interface initialization

Location:
trunk/package/libnl-tiny
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/libnl-tiny/Makefile

    r25101 r31155  
    11# 
    2 # Copyright (C) 2006-2009 OpenWrt.org 
     2# Copyright (C) 2006-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=libnl-tiny 
    1111PKG_VERSION:=0.1 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • trunk/package/libnl-tiny/src/socket.c

    r15507 r31155  
    6060         
    6161        nr = port >> 22; 
    62         used_ports_map[nr / 32] &= ~((nr % 32) + 1); 
     62        used_ports_map[nr / 32] &= ~(1 << nr % 32); 
    6363} 
    6464 
Note: See TracChangeset for help on using the changeset viewer.