wl1251_event_wait
int wl1251_event_wait(struct wl1251 *wl, u32 mask, int timeout_ms);
ret = wl1251_event_wait(wl, JOIN_EVENT_COMPLETE_ID, 100);