device: Save zero scan_interval values
authorMatt Francomb <mfrancomb@aminocom.com>
Tue, 26 Oct 2010 19:08:35 +0000 (21:08 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 26 Oct 2010 19:11:37 +0000 (21:11 +0200)
commit0b3daa981d62a6a6831b5191ec8507c8749728ac
treef6c2b76f5854565515e19d93efc46fb39604464b
parent573c0c423865281a290a42de3525a1ae08d481e6
device: Save zero scan_interval values

For some devices it makes sense to not run periodic wifi scans at all.
Although the default value is kept at 300 seconds for wifi, one should be
able to set that value to 0, and fetch it back after rebooting.
src/device.c