-# 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.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
PKG_NAME:=libnl-tiny
PKG_VERSION:=0.1
PKG_NAME:=libnl-tiny
PKG_VERSION:=0.1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/package.mk
- used_ports_map[nr / 32] &= ~((nr % 32) + 1);
+ used_ports_map[nr / 32] &= ~(1 << nr % 32);