From: Johannes Berg Date: Mon, 31 Mar 2008 17:23:00 +0000 (+0200) Subject: mac80211: fix sta_info_destroy(NULL) X-Git-Tag: v2.6.26-rc1~1138^2~244 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97bff8ecf4e4e26749a67dcfbb7565d8a0f4acb4;p=pandora-kernel.git mac80211: fix sta_info_destroy(NULL) sta_info_destroy(NULL) should be valid, but currently isn't because the argument is dereferenced before the NULL check. There are no users that currently pass in NULL, i.e. all check before calling the function, but I want to change that. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed