diff options
author | 2006-10-10 16:46:30 -0400 | |
---|---|---|
committer | 2006-10-16 20:09:48 -0400 | |
commit | 431aca5a18f15f61cc51c466073928c4f9565fe4 (patch) | |
tree | 1ee40a5467e93060f37c271c7bd6d92096c6a045 /drivers/net/wireless/hostap/hostap_ap.c | |
parent | [PATCH] bcm43xx-softmac: Fix system hang for x86-64 with >1GB RAM (diff) | |
download | wireguard-linux-431aca5a18f15f61cc51c466073928c4f9565fe4.tar.xz wireguard-linux-431aca5a18f15f61cc51c466073928c4f9565fe4.zip |
[PATCH] airo.c: check returned values
create_proc_entry() can fail and return NULL in setup_proc_entry(), the
result must be checked before dereferencing. (Coverity ID 1443)
init_wifidev() & setup_proc_entry() can also fail in _init_airo_card().
This adds the checks & cleanup code and removes some whitespace.
Signed-off-by: Florin Malita <fmalita@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_ap.c')
0 files changed, 0 insertions, 0 deletions