ath6kl: simplify btcoex parameter programming
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 30 Mar 2011 00:56:20 +0000 (17:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Apr 2011 05:58:13 +0000 (22:58 -0700)
commit0e7fd280fb1eb8a870d223fdfe4821d318001af5
treefae16b18c85212ed75da5aad8458dfa2d10c60d9
parent524717f1a4624dcee164a69722bb1506d97c5d80
ath6kl: simplify btcoex parameter programming

Make the code more legible by parsing the config options on
the header file. While a it ensure to propagate errors and
bail out if we fail to set btcoex params.

Cc: Naveen Singh <nsingh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/os/linux/ar6000_drv.c
drivers/staging/ath6kl/os/linux/include/ar6000_drv.h