Driver error -wifi

Hello community :D

I’ve added a wifi driver to my source code, and it was successful… Now I can scan and connect to wifi.

The problem is that I can not do tethering ( ethernet to wifi AP), noting that Ap works fine without ethernet

Attached in my logcat : https://del.dog/grunamynaf.log