freebsd / freebsd-wifi-build

freebsd-wifi-build
141 stars 59 forks source link

[fix] cfg_load should read only one buffer #81

Closed mizhka closed 8 years ago

mizhka commented 8 years ago

This fix just adds count=1 to dd of cfg_load. cfg_save stores only one buffer, but cfg_load doesn't specify amount of buffers to be read. If partition is 128K, but CFG_SIZE is 64K, it fails on load, but fine on save.