aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2016-11-29 08:38:24 +0100
committerRafał Miłecki <rafal@milecki.pl>2016-11-29 08:39:57 +0100
commite8fe83e1be80c7877a898495e6fc5bbbf0dcce74 (patch)
tree3354a8f3c6b2f91701ef932e9ba1e323eb4fa4fa /package/network/utils
parent480473337d48c72c30422e2ef0059fe91875c324 (diff)
downloadupstream-e8fe83e1be80c7877a898495e6fc5bbbf0dcce74.tar.gz
upstream-e8fe83e1be80c7877a898495e6fc5bbbf0dcce74.tar.bz2
upstream-e8fe83e1be80c7877a898495e6fc5bbbf0dcce74.zip
iw: drop TX power patch that is part of upstream version now
Applying it again was resulting in duplicated TX info like: Interface wlan0 ifindex 6 wdev 0x1 addr 00:23:6a:a3:7d:00 ssid LEDE2 type AP wiphy 0 channel 11 (2462 MHz), width: 20 MHz, center1: 2462 MHz txpower 31.00 dBm txpower 31.00 dBm Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'package/network/utils')
-rw-r--r--package/network/utils/iw/patches/300-display_interface_TX_power.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/network/utils/iw/patches/300-display_interface_TX_power.patch b/package/network/utils/iw/patches/300-display_interface_TX_power.patch
deleted file mode 100644
index fe15b8f2e4..0000000000
--- a/package/network/utils/iw/patches/300-display_interface_TX_power.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From: =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= <zajec5@gmail.com>
-Date: Tue, 1 Sep 2015 09:55:52 +0200
-Subject: iw: display interface TX power if available
-MIME-Version: 1.0
-Content-Type: text/plain; charset="utf-8"
-Content-Transfer-Encoding: 8bit
-
-Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-[print dBm]
-Signed-off-by: Johannes Berg <johannes.berg@intel.com>
----
- interface.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
---- a/interface.c
-+++ b/interface.c
-@@ -441,6 +441,13 @@ static int print_iface_handler(struct nl
- indent, txp / 100, txp % 100);
- }
-
-+ if (tb_msg[NL80211_ATTR_WIPHY_TX_POWER_LEVEL]) {
-+ uint32_t txp = nla_get_u32(tb_msg[NL80211_ATTR_WIPHY_TX_POWER_LEVEL]);
-+
-+ printf("%s\ttxpower %d.%.2d dBm\n",
-+ indent, txp / 100, txp % 100);
-+ }
-+
- return NL_SKIP;
- }
-