I've got custom boards that need to support wireless Ethernet either via an on-board wireless module or through a USB wireless interface.
Everything works as I expect when only one of the interfaces is present.
When I boot the board with the on-board wireless module and a USB wireless interface attached the on-board module is loaded as wlan1 and the USB interface is loaded as wlan0.
I really want to have the on-board module always identify as wlan0.
Any ideas on what I need to change to always force the on-board module to load as wlan0 if it is present?
Our kernel is based on Marshmallow (git tag android-6.0.1_r22), kernel 4.1.15.
Thanks,
Peter Steinberg