ifdef c files for legacy hotspot devices

Change-Id: Id3e6b40e34ce258c75b9d6c3325fa5b908694147