Staging: wlan-ng: Fix smatch warning potential null reference
authorTugce Sirin <ztugcesirin@gmail.com>
Wed, 19 Mar 2014 16:49:52 +0000 (18:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Mar 2014 20:41:27 +0000 (13:41 -0700)
commitd8720f8e57d0d4d0abd5ca3025763d4a7cf4ff44
treec4580839672a508b16c117f35c1319140a1b7ae4
parent168934c9d4e7a58e2e6162976fd49e528b26cee4
Staging: wlan-ng: Fix smatch warning potential null reference

This patch fixes potential null dereference 'wlandev' in wlan-ng driver.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Tugce Sirin <ztugcesirin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2sta.c