Merge pull request #239 from VDavid003/android-11.0

Fix vendor hostapd detection for manifest fragments
This commit is contained in:
Pierre-Hugues HUSSON 2021-03-08 13:48:13 +01:00 committed by GitHub
commit 23baa924dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 if grep -qF android.hardware.wifi.hostapd /$i/etc/vintf/manifest.xml;then
has_hostapd=true has_hostapd=true
fi fi
for j in /$i/etc/vintf/manifest/*;do
if grep -qF android.hardware.wifi.hostapd $j;then
has_hostapd=true
fi
done
done done
if [ "$has_hostapd" = false ];then if [ "$has_hostapd" = false ];then