mac80211: fix memory leak in ieee80211_send_probe_req
authorMing Lei <tom.leiming@gmail.com>
Fri, 15 Jan 2010 13:44:21 +0000 (21:44 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Jan 2010 22:02:08 +0000 (17:02 -0500)
commit145b6d1a56f224d15c61aa7ecfda9a1171b47b6a
tree748dacf833dfe08f64536ad2b27abf412645f38b
parent43d3534344bbdcfa9c61a6b38490cd4cbb2f6bb6
mac80211: fix memory leak in ieee80211_send_probe_req

This patch fixes memory leak in ieee80211_send_probe_req, which
is introduced in 7c12ce8b854df346388ea56d684784e3484012cf:

mac80211: use Probe Request template when sending a direct scan

The patch is against the latest wireless-test tree.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Reviewed-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c