mac80211: print an error if wifi teardown fails
authorBob Cantor <coxede6557@w3boats.com>
Thu, 24 Jun 2021 18:14:47 +0000 (04:14 +1000)
committerFelix Fietkau <nbd@nbd.name>
Mon, 28 Jun 2021 15:24:11 +0000 (17:24 +0200)
commit3933e29d1b87c713167cf4730b68e5f18af4f140
treec28d2b3352de8a44a2fda3712bda506350a32dcd
parentd515f6b6cde357bf480d32a7387f07ea40e85e52
mac80211: print an error if wifi teardown fails

drv_mac80211_teardown fails silently if the device to be torn down is
not defined.  This commit prints an error message.

branches affected: trunk, 21.02

Signed-off-by: Bob Cantor <coxede6557@w3boats.com>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh