commit | 030fe7974f48bd86bb706ec05188ebab0cb7af80 | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Wed Apr 27 19:13:13 2011 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Apr 28 14:53:23 2011 -0400 |
tree | cef6a9d5df5873454c3fde6d161f598b61a3cb61 | |
parent | a46b7b5c13b9ecfe2b4e045e06aaec644dcf55d8 [diff] |
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 <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>