[PATCH 2/4] ap: Make ap_update_beacon public