]> 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)
commit01606d5f5842e2a493ea38e7f935389fc0726600
treead1e972d20e6127519efa3eac30c7ca6f3922147
parent07b88f5637cdcb3655eb730eae601749ce5cb48c
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