[pkg-wpa-devel] r1630 - in /iw/trunk/debian: changelog patches/iw_fix-regression-in-tx-power-validation.patch patches/series
slh-guest at users.alioth.debian.org
slh-guest at users.alioth.debian.org
Mon Nov 7 19:23:28 UTC 2011
Author: slh-guest
Date: Mon Nov 7 19:23:27 2011
New Revision: 1630
URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=1630
Log:
add fix for the newly introduced tx power validation regression from
upstream, thanks to Felix Fietkau <nbd at openwrt.org>.
Added:
iw/trunk/debian/patches/iw_fix-regression-in-tx-power-validation.patch
Modified:
iw/trunk/debian/changelog
iw/trunk/debian/patches/series
Modified: iw/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-wpa/iw/trunk/debian/changelog?rev=1630&op=diff
==============================================================================
--- iw/trunk/debian/changelog (original)
+++ iw/trunk/debian/changelog Mon Nov 7 19:23:27 2011
@@ -10,11 +10,13 @@
Michael Biebl for noticing; fix Format URL.
* restrict architecture to linux-any, it depends on the linux specific
nl80211 kernel interface.
+ * add fix for the newly introduced tx power validation regression from
+ upstream, thanks to Felix Fietkau <nbd at openwrt.org>.
[ Jonathan Nieder ]
* change Priority to optional from extra (Closes: #591102).
- -- Stefan Lippers-Hollmann <s.l-h at gmx.de> Mon, 07 Nov 2011 13:40:46 +0100
+ -- Stefan Lippers-Hollmann <s.l-h at gmx.de> Mon, 07 Nov 2011 20:22:13 +0100
iw (3.1-1) unstable; urgency=low
Added: iw/trunk/debian/patches/iw_fix-regression-in-tx-power-validation.patch
URL: http://svn.debian.org/wsvn/pkg-wpa/iw/trunk/debian/patches/iw_fix-regression-in-tx-power-validation.patch?rev=1630&op=file
==============================================================================
--- iw/trunk/debian/patches/iw_fix-regression-in-tx-power-validation.patch (added)
+++ iw/trunk/debian/patches/iw_fix-regression-in-tx-power-validation.patch Mon Nov 7 19:23:27 2011
@@ -1,0 +1,21 @@
+From 08ec4c6b6820348d1c40c68c45c64221e4802db2 Mon Sep 17 00:00:00 2001
+From: Felix Fietkau <nbd at openwrt.org>
+Date: Mon, 7 Nov 2011 18:49:51 +0100
+Subject: [PATCH] iw: fix regression in tx power validation
+
+Only bail out if the last character is *not* \0
+---
+ phy.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+--- a/phy.c
++++ b/phy.c
+@@ -293,7 +293,7 @@ static int handle_txpower(struct nl80211
+ }
+
+ mbm = strtol(argv[1], &endptr, 10);
+- if (!*endptr)
++ if (*endptr)
+ return 2;
+ NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_TX_POWER_LEVEL, mbm);
+ } else if (argc != 1)
Modified: iw/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-wpa/iw/trunk/debian/patches/series?rev=1630&op=diff
==============================================================================
--- iw/trunk/debian/patches/series (original)
+++ iw/trunk/debian/patches/series Mon Nov 7 19:23:27 2011
@@ -1,1 +1,2 @@
dont-use-git-on-the-buildd.patch
+iw_fix-regression-in-tx-power-validation.patch
More information about the Pkg-wpa-devel
mailing list