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

SVN-Revision: 31155
master
Jo-Philipp Wich 13 years ago
parent 569e56f1d2
commit 26577e330c
  1. 4
      package/libnl-tiny/Makefile
  2. 2
      package/libnl-tiny/src/socket.c

@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2009 OpenWrt.org
# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libnl-tiny
PKG_VERSION:=0.1
PKG_RELEASE:=2
PKG_RELEASE:=3
include $(INCLUDE_DIR)/package.mk

@ -59,7 +59,7 @@ static void release_local_port(uint32_t port)
return;
nr = port >> 22;
used_ports_map[nr / 32] &= ~((nr % 32) + 1);
used_ports_map[nr / 32] &= ~(1 << nr % 32);
}
/**

Loading…
Cancel
Save