From: Amitkumar Karwar Date: Thu, 28 Apr 2011 02:13:13 +0000 (-0700) Subject: mwifiex: fix bug in mwifiex_save_curr_bcn() X-Git-Tag: v3.0-rc1~377^2~161^2^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=030fe7974f48bd86bb706ec05188ebab0cb7af80;p=pandora-kernel.git mwifiex: fix bug in mwifiex_save_curr_bcn() Since timestamp in beacon buffer keeps changing all the time, the memcmp check in mwifiex_save_curr_bcn() is redundant. Remove that memcmp check and also avoid freeing and allocation of buffer if required beacon buffer size is same as previous one. Signed-off-by: Amitkumar Karwar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville --- Reading git-diff-tree failed