[PATCH 16/17] ap: Make ap_update_beacon public