mwifiex: fix memory leak issue for ibss join
authorUjjal Roy <royujjal@gmail.com>
Thu, 21 Nov 2013 19:08:56 +0000 (11:08 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Nov 2013 20:46:50 +0000 (15:46 -0500)
commit517543fd72d577dde2ebd9505dc4abf26d589f9a
treef0c80d285fe6cc4cc78a1382cd355c4f64c9eadc
parent0b3f57539794da2b32cc64f591d4bca0b469ceda
mwifiex: fix memory leak issue for ibss join

For IBSS join if the requested SSID matches current SSID,
it returns without freeing the allocated beacon IE buffer.

Cc: <stable@vger.kernel.org> # 3.10+
Signed-off-by: Ujjal Roy <royujjal@gmail.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sta_ioctl.c