MCPcopy Create free account
hub / github.com/F-Stack/f-stack / set80211weptxkey

Function set80211weptxkey

tools/ifconfig/ifieee80211.c:946–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944}
945
946static void
947set80211weptxkey(const char *val, int d, int s, const struct afswtch *rafp)
948{
949 if (isundefarg(val))
950 set80211(s, IEEE80211_IOC_WEPTXKEY, IEEE80211_KEYIX_NONE, 0, NULL);
951 else
952 set80211(s, IEEE80211_IOC_WEPTXKEY, atoi(val)-1, 0, NULL);
953}
954
955static void
956set80211wepkey(const char *val, int d, int s, const struct afswtch *rafp)

Callers

nothing calls this directly

Calls 2

isundefargFunction · 0.85
set80211Function · 0.85

Tested by

no test coverage detected