371
371
* change something in the driver */
372
372
if (set80211param(drv, IEEE80211_PARAM_ROAMING, 0, 1) < 0)
380
379
if (set80211param(drv, IEEE80211_PARAM_ROAMING, 2, 1) < 0)
382
384
memset(&mlme, 0, sizeof(mlme));
383
385
mlme.im_op = IEEE80211_MLME_ASSOC;
384
386
memcpy(mlme.im_macaddr, params->bssid, IEEE80211_ADDR_LEN);
385
387
if (set80211priv(drv, IEEE80211_IOCTL_SETMLME, &mlme,