mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-10-04 06:09:49 +03:00
[package] mtd: fix r24132
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24134 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8b815e9edf
commit
401f12d020
@ -519,7 +519,7 @@ resume:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* need to erase the next block before writing data to it */
|
/* need to erase the next block before writing data to it */
|
||||||
if(no_erase)
|
if(!no_erase)
|
||||||
{
|
{
|
||||||
while (w + buflen > e) {
|
while (w + buflen > e) {
|
||||||
if (!quiet)
|
if (!quiet)
|
||||||
|
Loading…
Reference in New Issue
Block a user