| 944 | } |
| 945 | |
| 946 | static void |
| 947 | set80211weptxkey(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 | |
| 955 | static void |
| 956 | set80211wepkey(const char *val, int d, int s, const struct afswtch *rafp) |
nothing calls this directly
no test coverage detected