]> git.baikalelectronics.ru Git - kernel.git/commit
wl18xx: read configuration structure from a binary file
authorLuciano Coelho <coelho@ti.com>
Thu, 7 Jun 2012 20:39:28 +0000 (23:39 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 8 Jun 2012 06:14:08 +0000 (09:14 +0300)
commitaec2a634ebfa701ca4f5636bfc03d786abef15b3
treead1e972d20e6127519efa3eac30c7ca6f3922147
parent60d72f0ffd4b17a71ea4c8ee805fbb65c07b67a2
wl18xx: read configuration structure from a binary file

Instead of using the hardcoded configuration structure, try to read it
from a "firmware" file called wl18xx-conf.bin.  If the file doesn't
exist, fall back to the hardcoded version.  If the file exists but is
illegal, bail out.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl18xx/main.c