I have an AHD and I have had this problem for a while. When on stock or custom ROMs, the phone will suddenly drop the wifi connection. Sometimes, it will re-connect right away, other times, it takes a bit. Once it re-connects, it will either stay connected for a few minutes and drop again or it will connect and immediately drop it. It didn't bother me too much but it seems to be getting worse.

I have an AHD and I have had this problem for a while. When on stock or custom ROMs, the phone will suddenly drop the wifi connection. Sometimes, it will re-connect right away, other times, it takes a bit. Once it re-connects, it will either stay connected for a few minutes and drop again or it will connect and immediately drop it. It didn't bother me too much but it seems to be getting worse.

Download the stock ATT 4.1.1 ROM and extract the file named NON-HLOS.BIN using 7zip.

1) install the adb/fastboot files to a single directory on my computer;
2) place the NON-HLOS.bin file in the adb/fastboot directory from step 1;
3) open a command prompt window as an administrator;
4) install the Motorola USB drivers and connect my booted phone with USB debugging enabled;
5) from the command line, type "adb reboot bootloader" and press the enter key to get my phone into AP Fastboot Flash mode;
6) from the command line, type "fastboot flash modem NON-HLOS.bin" and press enter; and
7) reboot the phone and check to made sure my baseband now says "QUINARA_BP_100740.081.65.05".

I have to say that it helped but the problem did reappear. I then decided to flash a complete stock ATT 4.1.1 ROM again, I ran the OTA update which updated the modem again, and wifi has been fine since the OTA update.

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?