return -EAGAIN;
}
- iscan_req = FALSE;
- spec_scan = FALSE;
+ iscan_req = false;
+ spec_scan = false;
if (request) { /* scan bss */
ssids = request->ssids;
if (wl->iscan_on && (!ssids || !ssids->ssid_len)) { /* for
if (changed & WIPHY_PARAM_RETRY_SHORT
&& (wl->conf->retry_short != wiphy->retry_short)) {
wl->conf->retry_short = wiphy->retry_short;
- err = wl_set_retry(ndev, wl->conf->retry_short, FALSE);
+ err = wl_set_retry(ndev, wl->conf->retry_short, false);
if (!err) {
return err;
}
params->ssid, params->ssid_len);
}
if (bss) {
- wl->ibss_starter = FALSE;
+ wl->ibss_starter = false;
WL_DBG(("Found IBSS\n"));
} else {
wl->ibss_starter = true;
{
struct wl_priv *wl = wiphy_to_wl(wiphy);
scb_val_t scbval;
- bool act = FALSE;
+ bool act = false;
s32 err = 0;
WL_DBG(("Reason %d\n", reason_code));
}
}
- return FALSE;
+ return false;
}
static bool wl_is_linkdown(struct wl_priv *wl, const wl_event_msg_t *e)
return true;
}
- return FALSE;
+ return false;
}
static bool wl_is_nonetwork(struct wl_priv *wl, const wl_event_msg_t *e)
return true;
}
- return FALSE;
+ return false;
}
static s32
wl_link_down(wl);
wl_init_prof(wl->profile);
} else if (wl_is_nonetwork(wl, e)) {
- wl_bss_connect_done(wl, ndev, e, data, FALSE);
+ wl_bss_connect_done(wl, ndev, e, data, false);
}
return err;
scan_done_out:
if (wl->scan_request) {
- cfg80211_scan_done(wl->scan_request, FALSE);
+ cfg80211_scan_done(wl->scan_request, false);
wl_set_mpc(ndev, 1);
wl->scan_request = NULL;
}
wl_set_mpc(ndev, 1);
wl->scan_request = NULL;
}
- wl->iscan_kickstart = FALSE;
+ wl->iscan_kickstart = false;
}
static s32 wl_wakeup_iscan(struct wl_iscan_ctrl *iscan)
iscan->state = WL_ISCAN_STATE_IDLE;
rtnl_lock();
wl_inform_bss(wl);
- wl_notify_iscan_complete(iscan, FALSE);
+ wl_notify_iscan_complete(iscan, false);
rtnl_unlock();
return err;
wl->iscan_on = true; /* iscan on & off switch.
we enable iscan per default */
#else
- wl->iscan_on = FALSE;
+ wl->iscan_on = false;
#endif /* WL_ISCAN_DISABLED */
#ifndef WL_ROAM_DISABLED
wl->roam_on = true; /* roam on & off switch.
we enable roam per default */
#else
- wl->roam_on = FALSE;
+ wl->roam_on = false;
#endif /* WL_ROAM_DISABLED */
- wl->iscan_kickstart = FALSE;
+ wl->iscan_kickstart = false;
wl->active_scan = true; /* we do active scan for
specific scan per default */
- wl->dongle_up = FALSE; /* dongle is not up yet */
+ wl->dongle_up = false; /* dongle is not up yet */
wl_init_eq(wl);
err = wl_init_priv_mem(wl);
if (unlikely(err))
static void wl_deinit_priv(struct wl_priv *wl)
{
wl_destroy_event_handler(wl);
- wl->dongle_up = FALSE; /* dongle down */
+ wl->dongle_up = false; /* dongle down */
wl_flush_eq(wl);
wl_link_down(wl);
wl_term_iscan(wl);
{
s32 err = 0;
- err = wl_config_dongle(wl, FALSE);
+ err = wl_config_dongle(wl, false);
if (unlikely(err))
return err;
{
struct wl_connect_info *conn_info = wl_to_conn(wl);
- wl->link_up = FALSE;
+ wl->link_up = false;
kfree(conn_info->req_ie);
conn_info->req_ie = NULL;
conn_info->req_ie_len = 0;