mr scripts: bug fix in p2p/aGO remove scripts ol_R5.00.06 ol_R5.00.07
authorIdo Reis <idor@ti.com>
Thu, 12 Jan 2012 15:03:40 +0000 (17:03 +0200)
committerIdo Reis <idor@ti.com>
Thu, 12 Jan 2012 15:03:40 +0000 (17:03 +0200)
mr/aGO_remove.sh
mr/p2p_remove.sh

index 78858c01293fd7fe124a91509fc2353ee7933673..6e29c7e84674dc24476624cd4babc03807051de9 100755 (executable)
@@ -8,7 +8,7 @@ IW=/system/bin/iw
 
 WLAN_IF=p2p_wlan0
 WLAN_IF_MON=mon.$WLAN_IF
-WLAN_PID=`ps | grep [p2p_]wlan0 | cut -f3 -d' '`
+WLAN_PID=`ps | grep [p2p_]wlan0 | cut -f2 -d' '`
 
 SERVICE_SUPPLICANT=wpa_supplicant
 
index 78858c01293fd7fe124a91509fc2353ee7933673..6e29c7e84674dc24476624cd4babc03807051de9 100755 (executable)
@@ -8,7 +8,7 @@ IW=/system/bin/iw
 
 WLAN_IF=p2p_wlan0
 WLAN_IF_MON=mon.$WLAN_IF
-WLAN_PID=`ps | grep [p2p_]wlan0 | cut -f3 -d' '`
+WLAN_PID=`ps | grep [p2p_]wlan0 | cut -f2 -d' '`
 
 SERVICE_SUPPLICANT=wpa_supplicant