diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-09-04 15:20:34 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-11-07 12:00:45 +0100 |
commit | 156f6e63c4d9583b1e31bf623574c683376b9e6a (patch) | |
tree | ed4cd9f32c3df1dab2e9599e21a857f00b2571f6 /package/kernel/mac80211/patches/345-0002-brcmfmac-increase-buffer-for-obtaining-firmware-capa.patch | |
parent | aa0aa47aa176133ff302c4a5cea785d971bc26b3 (diff) | |
download | upstream-156f6e63c4d9583b1e31bf623574c683376b9e6a.tar.gz upstream-156f6e63c4d9583b1e31bf623574c683376b9e6a.tar.bz2 upstream-156f6e63c4d9583b1e31bf623574c683376b9e6a.zip |
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 ffa80bf5a784a34b81e32144669f30560780bdb6)
Diffstat (limited to 'package/kernel/mac80211/patches/345-0002-brcmfmac-increase-buffer-for-obtaining-firmware-capa.patch')
0 files changed, 0 insertions, 0 deletions