iwm - Fix possible null pointer indirection
commita0fed86142b3163a25e72eca99dd978a0fd91ed7
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 26 Dec 2018 06:17:25 +0000 (25 22:17 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 26 Dec 2018 06:17:25 +0000 (25 22:17 -0800)
tree3e4866f41886471ef704081d1114eb4a5da0a434
parent1e5f8ca093b6dc03a7c353b36065133aec5b872a
iwm - Fix possible null pointer indirection

* Fix possible null pointer indirection.  No known cases for dfly but
  I would speculate possibly something in the error path could
  trigger a NULL field there.

* Provisional change, may be adjusted in the future.  But harmless.

Taken-from: haiku
Requested-by: waddlespl
sys/dev/netif/iwm/if_iwm.c