fix wep key seting: ENETRESET is the code to return to signal the driver
should push software state to the hardware (was ERESTART which caused the system call to be retried) Submitted by: Tor Egge
This commit is contained in:
parent
245e410ba7
commit
b8d2606bae
@ -1975,7 +1975,7 @@ ieee80211_ioctl_set80211(struct ieee80211com *ic, u_long cmd, struct ieee80211re
|
||||
if (kid >= IEEE80211_WEP_NKID)
|
||||
return EINVAL;
|
||||
ic->ic_def_txkey = kid;
|
||||
error = ERESTART; /* push to hardware */
|
||||
error = ENETRESET; /* push to hardware */
|
||||
break;
|
||||
case IEEE80211_IOC_AUTHMODE:
|
||||
switch (ireq->i_val) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user