From: Jo-Philipp Wich Date: Wed, 21 Sep 2016 19:08:29 +0000 (+0200) Subject: iwinfo: fix WPA cipher reporting X-Git-Tag: v17.01.0-rc1~1359 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=875cddd94cea002fae1b7eeb20ef2098410c44c1;p=openwrt%2Fstaging%2Fxback.git iwinfo: fix WPA cipher reporting Within the Lua binding, use the same logic as the command line interface for reporting the used WPA ciphers. Instead of printing the intersection of pairwise and group ciphers, report both group and pairwise ciphers. This fixes a case where a connection which uses CCMP for pairwise and TKIP as groupwise cipher is getting reported as using the NONE cipher. Signed-off-by: Jo-Philipp Wich --- diff --git a/package/network/utils/iwinfo/Makefile b/package/network/utils/iwinfo/Makefile index 47ab95acc5..8d50d289e7 100644 --- a/package/network/utils/iwinfo/Makefile +++ b/package/network/utils/iwinfo/Makefile @@ -7,13 +7,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libiwinfo -PKG_VERSION:=2016-07-29 +PKG_VERSION:=2016-09-21 PKG_RELEASE=$(PKG_SOURCE_VERSION) PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(LEDE_GIT)/project/iwinfo.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=717ff717509e53ace280c4216d1150af5f1d1b82 +PKG_SOURCE_VERSION:=fd9e17be0c43bd6b8df5371f0b353747bc563874 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz PKG_MAINTAINER:=Jo-Philipp Wich PKG_LICENSE:=GPL-2.0