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>
Wed, 30 Jun 2021 17:24:55 +0000 (19:24 +0200)
commit6f13a390355d15bc1ecff59eba769d0189d05083
treebc3cee6ef6bf631e313a0a92157920e9160dd5f1
parent9302e63d1a3589f764e61caf0b3ecdad524458ea
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>
(cherry-picked from commit 3933e29d1b87c713167cf4730b68e5f18af4f140)
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh