commit | 5d08408b6f6b28d9a57ab7b2c7419ca8bfc6b8a4 | [log] [tgz] |
---|---|---|
author | Rafał Miłecki <zajec5@gmail.com> | Wed May 20 11:01:08 2015 +0200 |
committer | Kalle Valo <kvalo@codeaurora.org> | Thu May 28 11:49:44 2015 +0300 |
tree | dd3d90f8d708c4b6fa171773ef6083600dab3ee6 | |
parent | ae8c2366d77cd7c6de776bcb1dcb6be88f2a1185 [diff] |
brcmfmac: simplify check finding NVRAM v1 device path With a simple use of snprintf and small buffer we can compare NVRAM entry value with a full string. This way we avoid checking random chars at magic offsets. Tested on BCM43602 with NVRAM hacked to use v1 format. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>