if_wi patch

From: Ritz, Bruno <bruno_ritz_at_gmx.ch>
Date: Tue, 24 Jun 2003 02:04:31 +0200
hi,
this patch adds support for authmode stuff to the if_wi of 5.1-release.

regards
bruno



--- sys/dev/wi/if_wi.c.orig	Tue Jun 24 01:35:41 2003
+++ sys/dev/wi/if_wi.c	Tue Jun 24 01:43:53 2003
_at__at_ -1117,6 +1117,9 _at__at_
 			error = copyout(sc->sc_nodename, ireq->i_data,
 					ireq->i_len);
 			break;
+		case IEEE80211_IOC_AUTHMODE:
+			ireq->i_val = sc->sc_cnfauthmode;
+			break;
 		default:
 			error = ieee80211_ioctl(ifp, cmd, data);
 			break;
_at__at_ -1146,6 +1149,9 _at__at_
 			}
 			memcpy(sc->sc_nodename, nodename, IEEE80211_NWID_LEN);
 			sc->sc_nodelen = ireq->i_len;
+			break;
+		case IEEE80211_IOC_AUTHMODE:
+			sc->sc_cnfauthmode = ireq->i_val;
 			break;
 		default:
 			error = ieee80211_ioctl(ifp, cmd, data);
Received on Mon Jun 23 2003 - 15:03:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:12 UTC