summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-05-20 09:34:21 +0200
committerKalle Valo <kvalo@codeaurora.org>2015-05-28 11:49:07 +0300
commitae8c2366d77cd7c6de776bcb1dcb6be88f2a1185 (patch)
treeca71d52236ebe50614c07bb15ef6dbe819cdc2b4 /net/switchdev/switchdev.c
parentc869f77d6abb5d5f9f2f1a661d5c53862a9cad34 (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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions