Two commits to fix a small bug and refactor some of the code in prepare_aruba_ap_switchport to reduce code duplication.
prepare_aruba_ap_switchport