[][MAC80211][app][atenl: update wrappers]

[Description]
Change iwpriv and ated wrappers in atenl package.

[Release-log]
N/A

Change-Id: I73345c01e7bf3a4a7cf8f5cb9fb8c050a0d17544
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/5916671
diff --git a/feed/atenl/files/ated.sh b/feed/atenl/files/ated.sh
index 787dd2e..71d139f 100755
--- a/feed/atenl/files/ated.sh
+++ b/feed/atenl/files/ated.sh
@@ -5,6 +5,7 @@
 mode="0"
 add_quote="0"
 cmd="atenl"
+ori_inf=""
 
 for i in "$@"
 do
@@ -17,8 +18,10 @@
         add_quote="0"
     else
         if [ ${i} = "ra0" ]; then
+            ori_inf=${i}
             i="phy0"
         elif [ ${i} = "rax0" ]; then
+            ori_inf=${i}
             i="phy1"
         fi
         cmd="${cmd} ${i}"
@@ -26,7 +29,10 @@
 done
 
 if [ "$mode" = "0" ]; then
-    killall atenl
+    killall atenl > /dev/null 2>&1
 fi
 
-eval "${cmd}"
+eval "${cmd}" > /dev/null 2>&1 &
+if [[ ! -z "${ori_inf}" ]]; then
+    echo "if_name: ${ori_inf}"
+fi