Restore some NULL checks lost in r1.132, add a couple more to deal with WEP key
authorkrw <krw@openbsd.org>
Mon, 1 Nov 2021 12:08:46 +0000 (12:08 +0000)
committerkrw <krw@openbsd.org>
Mon, 1 Nov 2021 12:08:46 +0000 (12:08 +0000)
commit0ff000770890566451bbf90f8dac0a1603b5a68b
treed8e18463426e1143cee190c49dbcd11c3fa7e16d
parent1db1a6bb4ec66f82490f1bf5fdd40614ef7f0002
Restore some NULL checks lost in r1.132, add a couple more to deal with WEP key
installation happening w/o a node, and don't attempt to set WEP keys that don't
exist.

Should fix the '(null node)' panics reported by James Hastings.

ok stsp@
sys/dev/usb/if_run.c