Originally Posted by h4waii
It removes directed probes to stop leaking stored network SSIDs.
Actually it's the opposite, probe requests looking for specific
SSIDs still go through, but with or without this patch they only happen when your Android system remembers APs with a hidden SSID (check your wpa_supplicant.conf). And they need to happen, because it's the only way to connect to those APs. If you don't want to send out such probe requests, just don't connect to APs with hidden SSIDs, or at least "forget" them after you're done.
What the patch really does is remove nonspecific (=wildcard)
probe requests. They do not leak SSIDs, but they do leak your device's current MAC address. (And more broadly, the radio characteristics of your device.)