diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2016-05-09 12:53:39 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2016-06-19 19:23:57 +0200 |
commit | 23edb8ebe77086737353c16babcb2cc3248a6b21 (patch) | |
tree | db0c5be3283b79c103566b616e7a4ea59b7a5040 /package/kernel/mac80211/patches/862-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch | |
parent | ff752836feabc2092ee877e79e98c3568fc1c419 (diff) | |
download | master-187ad058-23edb8ebe77086737353c16babcb2cc3248a6b21.tar.gz master-187ad058-23edb8ebe77086737353c16babcb2cc3248a6b21.tar.bz2 master-187ad058-23edb8ebe77086737353c16babcb2cc3248a6b21.zip |
mtd: seama: fix image data handling
1) Put sanity checks in one place
2) Respect provided offset
3) Read only as much data as needed for MD5 calculation
Thanks to the last change this is a great speedup and memory saver. On
devices with NAND flash we were allocating & reading about 128 MiB while
something about 8 MiB is enough.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49309 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/862-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch')
0 files changed, 0 insertions, 0 deletions