summaryrefslogtreecommitdiffhomepage
path: root/examples/wireless
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-03 15:14:05 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-12-03 15:14:08 +0100
commitf7cdc6437cdbad0db06b73ba58eb84f12acf069d (patch)
treedd011f59bb245b77053f485cbce7ee29039b5d09 /examples/wireless
parent29db00ed0efb251bd88ecce298356f2702b6cee1 (diff)
wireless: add an example driver cleanup implementation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'examples/wireless')
-rwxr-xr-xexamples/wireless/mac80211.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/wireless/mac80211.sh b/examples/wireless/mac80211.sh
index aa663bb..2ee1c73 100755
--- a/examples/wireless/mac80211.sh
+++ b/examples/wireless/mac80211.sh
@@ -43,6 +43,9 @@ setup_vif() {
wireless_add_process "$!" /bin/sleep 1
}
+drv_mac80211_cleanup() {
+ echo "mac80211 cleanup"
+}
drv_mac80211_setup() {
echo "mac80211 setup: $1"