]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: fix bug in ieee80211_build_probe_req
authorJohannes Berg <johannes.berg@intel.com>
Tue, 8 Nov 2011 12:04:41 +0000 (13:04 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Nov 2011 19:35:55 +0000 (14:35 -0500)
commit5b2bbf75a24d6b06afff6de0eb4819413fd81971
tree2c48b2fa617f7bc11e9a47c6f40f1a30d1fa83dd
parentf8d1ccf15568268c76f913b45ecdd33134387f1a
mac80211: fix bug in ieee80211_build_probe_req

ieee80211_probereq_get() can return NULL in
which case we should clean up & return NULL
in ieee80211_build_probe_req() as well.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c