Fix vendor hostapd detection for manifest fragments
This fixes tethering on phones that have hostapd defined in a manifest fragment
This commit is contained in:
parent
f7e7a1607c
commit
a3f96351d7
@ -724,6 +724,11 @@ for i in odm oem vendor product;do
|
||||
if grep -qF android.hardware.wifi.hostapd /$i/etc/vintf/manifest.xml;then
|
||||
has_hostapd=true
|
||||
fi
|
||||
for j in /$i/etc/vintf/manifest/*;do
|
||||
if grep -qF android.hardware.wifi.hostapd $j;then
|
||||
has_hostapd=true
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
if [ "$has_hostapd" = false ];then
|
||||
|
Loading…
Reference in New Issue
Block a user