/* Select an appropriate bss from current scan list regarding current settings from userspace. The caller must hold wl->scan_lock, and on the state of wl->scan_state == GELIC_WL_SCAN_GOT_LIST  */
static void update_best(struct gelic_wl_scan_info **best, struct gelic_wl_scan_info *candid, int *best_weight, int *weight)
/* Select an appropriate bss from current scan list regarding current settings from userspace. The caller must hold wl->scan_lock, and on the state of wl->scan_state == GELIC_WL_SCAN_GOT_LIST  */
static void update_best(struct gelic_wl_scan_info **best, struct gelic_wl_scan_info *candid, int *best_weight, int *weight)
{
	if (*best_weight < ++(*weight)) {
		*best_weight = *weight;
		*best = candid;
	}
}