[HTC One X+] Preaper:
Yep, for sure it's not a 4.2 issue only. I got 4.1 in the bogus WIFI state again. I consider this enough evidence and will upgrade to 4.2 again.

Meanwhile I took some additional log samples. These logs are recorded right after I enable WIFI.

Kernel messages (Filtered on WLAN).

<6> 0.786] Sthdt NHmdo P 1<6>[ 8066.801239] [WLAN] =========== WLAN going back to live ======== 9 m1 lc 0000zbsoe2pwroe2c d 7wdh2tiig2<> 06882 m1 lc 000H umd oemoe s0Vd1 it iig2<6>[ 8066.906671] [WLAN] dhdsdio_download_nvram: nvram_path=/etc/calibration
<6>[ 8067.242405] [WLAN] wl_android_wifi_on, unlock CPU
<6>[ 8067.271732] [WLAN] enter dhd_set_multicast_list
<6>[ 8067.271875] [WLAN] enter dhd_set_multicast_list
<6>[ 8067.273958] [WLAN] enter dhd_set_multicast_list
<6>[ 8067.274322] [WLAN] enter dhd_set_multicast_list
<6>[ 8067.514805] [WLAN] wldev_set_country: scan in progress, retry 1!
<6>[ 8070.578398] [WLAN] wl_cfg80211_connect sme->ssid[MySSID2.4GHz],sme->ssid_ln1]<> 00581][LN f:stsi ueHbi24H 6[87.710 WA]ddw_ot:WCICL m:2,err=-7<6>[ 8070.612738] [WLAN] wl_cfg80211_abort_connecting: abort the connecting procedure.
<3>[ 8070.618226] [WLAN] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection failed
<6>[ 8080.693239] [WLAN] wl_run_escan CHK_HTC_IE return FALSE scan_suppress_flag[0]
<6>[ 8080.737733] [WLAN] wldev_start_stop_scansuppress enable[1]
<6>[ 8080.738067] [WLAN] scan_suppress_flag not set do nothing!!
<6>[ 8083.756127] [WLAN] wl_cfg80211_connect sme->ssid[MySSID2.4GHz],sme->ssid_len[17]
<6>[ 8083.757236] [WLAN] pfn: set ssid = MySSID2.4GHz
<6>[ 8083.771244] [WLAN] lightest is 1, weightest is 0, samessid = 0
<6>[ 8083.772319] [WLAN] connect to latest ssid, ignore!
<3>[ 8083.784860] [WLAN] CFG80211-ERROR) wl_cfg80211_connect : is_scan_request_valid: 0 (1)
<6>[ 8083.799981] [WLAN] dhd_wl_ioctl: WLC_IOCTL: cmd: 23, error = -17
<6>[ 8083.911956] [WLAN] MACEVENT: LINK UP
<6>[ 8083.912088] [WLAN] event_type[16] flag[1],dev->name[wlan0]
<6>[ 8083.912153] [WLAN] STA_LINK_UP
<6>[ 8083.912267] [WLAN] Link UP
<6>[ 8083.912897] [WLAN] wl_bss_connect_done succeeded with 50:46:5d:cc:f7:70
<6>[ 8083.916525] [WLAN] connect to channel: 6
<6>[ 8083.947541] [WLAN] MACEVENT: JOIN, MAC 50:46:5d:cc:f7:70
<6>[ 8083.947680] [WLAN] STA connect received 1
<6>[ 8083.947965] [WLAN] MACEVENT: SET_SSID, MAC 50:46:5d:cc:f7:70
<6>[ 8083.948480] [WLAN] wl_bss_connect_done succeeded with 50:46:5d:cc:f7:70
<6>[ 8084.555954] [WLAN] enter dhd_set_multicast_list
<6>[ 8084.703249] [WLAN] wl_run_escan CHK_HTC_IE return FALSE scan_suppress_flag[0]
<6>[ 8084.722686] [WLAN] wldev_start_stop_scansuppress enable[1]
<6>[ 8084.722759] [WLAN] scan_suppress_flag not set do nothing!!
<3>[ 8091.889027] [WLAN] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 3
<3>[ 8091.889282] [WLAN] CFG80211-ERROR) wl_cfg80211_disconnect : is_scan_request_valid: 0 (2)
<6>[ 8091.911746] [WLAN] DISASSOC received, 50:46:5D:CC:F7:70!, reason:8
<6>[ 8091.912092] [WLAN] MACEVENT: LINK DOWN
<6>[ 8091.912185] [WLAN] event_type[16] flag[0],dev->name[wlan0]
<6>[ 8091.912340] [WLAN] STA_Link Down
<6>[ 8091.912422] [WLAN] <6>[ATS][disconnect][complete]
<6>[ 8091.912937] [WLAN] link down, call cfg80211_disconnected from 50:46:5d:cc:f7:as. (reason=2)
<3>[ 8091.913101] [WLAN] CFG80211-ERROR) wl_notifier_change_state : failed to set roam_off : 0
<6>[ 8091.941304] [WLAN] enter dhd_set_multicast_list
<6>[ 8091.941410] [WLAN] enter dhd_set_multicast_list
<6>[ 8092.302691] [WLAN] wldev_start_stop_scnupeseal[]<> 02325][LN cnsprs_lgntstd ohn!

This line seems to be pointing to where the trouble is:

<6>[ 8070.578398] [WLAN] wl_cfg80211_connect sme->ssid[MySSID2.4GHz],sme->ssid_ln1]<> 00581][LN f:stsi ueHbi24H 6[87.710 WA]ddw_ot:WCICL m:2,err=-7<6>[ 8070.612738] [WLAN] wl_cfg80211_abort_connecting: abort the connecting procedure.

Logcat:

[ 01-02 15:30:25.637 13243:13243 I/wpa_supplicant ]
wlan0: Trying to associate with 50:46:5d:cc:f7:aa (SSID='MySSID.4GHz' freq=2437 MHz)

[ 01-02 15:30:25.727 13243:13243 I/wpa_supplicant ]
wlan0: Associated with 50:46:5d:cc:f7:aa

[ 01-02 15:30:25.727 164: 368 D/NetlinkEvent ]
Unexpected netlink message. type=0x0

[ 01-02 15:30:25.757 13243:13243 I/wpa_supplicant ]
wlan0: WPA: Key negotiation completed with 50:46:5d:cc:f7:aa [PTK=CCMP GTK=CCMP]

[ 01-02 15:30:25.757 13243:13243 I/wpa_supplicant ]
wlan0: CTRL-EVENT-CONNECTED - Connection to 50:46:5d:cc:f7:aa completed (auth) [id=0 id_str=]

[ 01-02 15:30:26.292 563: 744 D/DhcpInfoInternal ]
makeLinkProperties with empty dns2!

[ 01-02 15:30:26.292 563: 744 D/DhcpInfoInternal ]
makeLinkProperties with empty dns2!

[ 01-02 15:30:26.487 563: 768 D/ConnectivityService ]
ConnectivityChange for WIFI: CONNECTED/CONNECTED

[ 01-02 15:30:26.487 563: 768 D/ConnectivityService ]
Policy requires mobile teardown

[ 01-02 15:30:26.517 563: 768 D/ConnectivityService ]
ConnectivityChange for WIFI: CONNECTED/CONNECTED

[ 01-02 15:30:26.522 563: 768 D/ConnectivityService ]
handleConnectivityChange: address are the same reset per doReset linkProperty[1]: resetMask=0

[ 01-02 15:30:26.627 563:13251 E/WifiHW ]
Unable to open connection to supplicant on "/data/misc/wifi/sockets/p2p0": No such file or directory

[ 01-02 15:30:26.847 563: 768 D/NetUtils ]
android_net_utils_resetConnections in env=0x5a5a69c0 clazz=0x58000001 iface=rmnet0 mask=0x3

[ 01-02 15:30:26.847 563: 768 D/ConnectivityService ]
ConnectivityChange for mobile: DISCONNECTED/DISCONNECTED

[ 01-02 15:30:26.847 563: 768 D/ConnectivityService ]
Attempting to switch to WIFI

[ 01-02 15:30:26.847 563: 768 D/ConnectivityService ]
resetConnections(rmnet0, 3)

[ 01-02 15:30:26.852 1036:13001 W/Smack/Packet ]
notify conn break (IOEx), close connection

[ 01-02 15:30:27.007 1036:13001 I/qtaguid ]
Failed write_ctrl(u 75) res=-1 errno=22

[ 01-02 15:30:27.007 1036:13001 I/qtaguid ]
Untagging socket 75 failed errno=-22

[ 01-02 15:30:27.007 1036:13001 W/NetworkManagementSocketTagger ]
untagSocket(75) failed with errno -22

[ 01-02 15:30:27.007 563: 768 D/ConnectivityService ]
handleInetConditionChange: net=0 != default=1 - ignore

[ 01-02 15:30:27.627 563:13251 E/WifiHW ]
Unable to open connection to supplicant on "/data/misc/wifi/sockets/p2p0": No such file or directory

[ 01-02 15:30:27.627 563: 743 E/WifiP2pService ]
P2p socket connection failed

[ 01-02 15:30:28.502 164: 373 D/CommandListener ]
Clearing all IP addresses on wlan0

[ 01-02 15:30:28.502 563: 2017 D/WifiService ]
setWifiEnabled: false pid=9792, uid=1000

[ 01-02 15:30:28.507 563: 768 D/ConnectivityService ]
ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED

[ 01-02 15:30:28.512 563: 768 D/ConnectivityService ]
Attempting to switch to mobile

[ 01-02 15:30:28.537 563: 768 D/NetUtils ]
android_net_utils_resetConnections in env=0x5a5a69c0 clazz=0x62a00001 iface=wlan0 mask=0x3

[ 01-02 15:30:28.537 563: 768 D/ConnectivityService ]
resetConnections(wlan0, 3)

Hope this helps. Longer logcat is available if neccesary