diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2011-04-27 22:13:13 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-04-28 14:53:23 -0400 |
commit | 030fe7974f48bd86bb706ec05188ebab0cb7af80 (patch) | |
tree | cef6a9d5df5873454c3fde6d161f598b61a3cb61 /include | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions