Interface configuration can and should be tested independently.
sudo reboot
sudo ifconfig
# lo ... 127.0.0.1 ... 255.0.0.0 ..
# eth0 ... 192.168.2.9 ... 255.255.255.0 ...
# wlan0 ... 192.168.7.1 ... 255.255.255.0 ...
# wlan1 ... 192.168.1.23 ... 255.255.255.0 ...
sudo iwconfig
# wlan0 ... Mode: Master ...
# wlan1 ... Mode: Managed ... Access Point: "ESSID" ...