wireless: add some device/vif error debug messages
authorFelix Fietkau <nbd@openwrt.org>
Sat, 30 Nov 2013 18:46:12 +0000 (19:46 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 30 Nov 2013 18:46:12 +0000 (19:46 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
scripts/netifd-wireless.sh

index a67e350d0c0ad5b49b6159d02fe3675ef5b2d005..1af4b10a1d39521b5838d7338d58383163fb162b 100644 (file)
@@ -15,11 +15,13 @@ add_driver() {
 
 wireless_setup_vif_failed() {
        local error="$1"
+       echo "Interface $_w_iface setup failed: $error"
 }
 
 wireless_setup_failed() {
        local error="$1"
 
+       echo "Device setup failed: $error"
        wireless_set_retry 0
 }