commit | ae8c2366d77cd7c6de776bcb1dcb6be88f2a1185 | [log] [tgz] |
---|---|---|
author | Rafał Miłecki <zajec5@gmail.com> | Wed May 20 09:34:21 2015 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Thu May 28 11:49:07 2015 +0300 |
tree | ca71d52236ebe50614c07bb15ef6dbe819cdc2b4 | |
parent | c869f77d6abb5d5f9f2f1a661d5c53862a9cad34 [diff] |
brcmfmac: simplify check stripping v2 NVRAM Comparing NVRAM entry with a full filtering string is simpler than comparing it with a short prefix and then checking random chars at magic offsets. The cost of snprintf relatively low, we execute it just once. Tested on BCM43602 with NVRAM hacked to use V2 format. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>