commit | 5d5d7c3b938d0c365e65180f2b9d6ffad4973cee | [log] [tgz] |
---|---|---|
author | Emil Goode <emilgoode@gmail.com> | Tue Sep 18 18:04:07 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Sep 19 09:28:14 2012 +0100 |
tree | 4aff2e3142e00fbab9ba1fc097b40da604d8d3bf | |
parent | 3d9562a6ed5389cd92deafa3e357e197b1ff136d [diff] |
staging: wlan-ng: Fix dereference before NULL check Smatch is warning about a dereference before we check for NULL. This patch moves the dereference to after the NULL check. Smatch warning: drivers/staging/wlan-ng/cfg80211.c:345 prism2_scan() warn: variable dereferenced before check 'request' (see line 332) Signed-off-by: Emil Goode <emilgoode@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>