This is currently the biggest gripe I have with my stock/non-rooted ICS 4.04 RAZR MAXX HD and I can't seem to get to the bottom of it. Something is automatically enabling the wi-fi. It seems to happen at random. It does it while I'm sleeping and the device hasn't physically moved anywhere (but some nights it's fine), randomly during the day, and it seems to commonly happen when I drive and show up at a new location (work, etc). This would lead me to believe it's one of the Smart Actions or Google location services. But I've turned that stuff off.
I have the following disabled and Wi-Fi is still enabling itself:
Settings->Wi-Fi->Auto-Connect Wi-Fi
Settings->Wi-Fi->Advanced Wi-Fi->Keep Wi-Fi on during sleep
Settings->Location services->Google location services
Settings->Location services->Location & Google search
Settings->Location services->Standalone GPS services
Smart actions - all location-based triggers
Smart actions->Settings->Motorola Location Services
Maps->Settings->Location sharing (Latitude)
Play Store->Settings->Google AdMob Ads
Facebook->Settings->Messenger location services
Facebook->Settings->Refresh interval->1 hour
Evernote->Settings->Sync Notes->Sync automatically->Every 1 day
Evernote->Settings->Other Options->Use GPS Satellites
I have the following disabled and Wi-Fi is still enabling itself:
Settings->Wi-Fi->Auto-Connect Wi-Fi
Settings->Wi-Fi->Advanced Wi-Fi->Keep Wi-Fi on during sleep
Settings->Location services->Google location services
Settings->Location services->Location & Google search
Settings->Location services->Standalone GPS services
Smart actions - all location-based triggers
Smart actions->Settings->Motorola Location Services
Maps->Settings->Location sharing (Latitude)
Play Store->Settings->Google AdMob Ads
Facebook->Settings->Messenger location services
Facebook->Settings->Refresh interval->1 hour
Evernote->Settings->Sync Notes->Sync automatically->Every 1 day
Evernote->Settings->Other Options->Use GPS Satellites