Staging: ozwpan: Fix null dereference
authorSalym Senyonga <salymsash@gmail.com>
Sat, 25 Jan 2014 09:54:39 +0000 (12:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 17:15:35 +0000 (09:15 -0800)
commit0010b79d56cb1d7717bf146ee59df5a625b0330b
treecf6fc685b38659b19cc278fa8c2c92a1a47e748b
parent8360fb0d9c21283e6fc12c43ce9ad81d1f9cffef
Staging: ozwpan: Fix null dereference

If net_dev is NULL memcpy() will Oops.

Signed-off-by: Salym Senyonga <salymsash@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozproto.c