openwrt/package
Rafał Miłecki 10eb247ee8 mac80211: add iw command wrapper with error logging
Currently it's close to impossible to tell what part of mac80211 setup
went wrong. Errors logged into system log look like this:
radio0 (6155): command failed: No error information (-524)
radio0 (6155): command failed: Not supported (-95)
radio0 (6155): command failed: I/O error (-5)
radio0 (6155): command failed: Too many open files in system (-23)

With this commit change it's getting clear:
command failed: No error information (-524)
Failed command: iw dev wlan0 del
command failed: Not supported (-95)
Failed command: iw phy phy0 set antenna_gain 0
command failed: I/O error (-5)
Failed command: iw phy phy0 set distance 0
command failed: Too many open files in system (-23)
Failed command: iw phy phy0 interface add wlan0 type __ap

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit ffa80bf5a7)
2018-11-07 13:06:38 +01:00
..
base-files LEDE v17.01.6: revert to branch defaults 2018-09-02 15:16:13 +02:00
boot grub2: rebase patches 2018-08-30 14:10:54 +02:00
devel perf: restrict libunwind dependency to archs that actually support libunwind 2018-02-25 17:07:32 +01:00
firmware firmware: amd64-microcode: update to 20180524 2018-08-09 01:04:18 +02:00
kernel mac80211: add iw command wrapper with error logging 2018-11-07 13:06:38 +01:00
libs openssl: update to version 1.0.2p 2018-08-15 22:39:50 +02:00
network dropbear: backport upstream fix for CVE-2018-15599 2018-08-27 14:14:57 +02:00
system mtd: improve check for TRX header being already fixed 2018-07-17 07:17:48 +02:00
utils bzip2: Fix CVE-2016-3189 2018-08-30 13:15:06 +02:00
Makefile build: fix triggering opkg/host compilation 2017-04-09 15:42:20 +02:00