Is Hiding the SSID Worth it?
First, we agree that hiding the SSID is not a security feature. But it can be handy sometimes because the attacker needs at least one connected client to a hidden network to send de-auth and get the SSID.
Most important, hiding the SSID might affect client’s privacy. Because the client is broadcasting a trusted network SSID, so a rogue AP can be set by an attacker, and then he might be able to set mitm. “only if the network is set to open auth“
Check this answer for more.