Fix bug in 5GHz AP and Mesh enable logic