]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
wlcore: use u8 instead of enum for bcn_filt_mode
authorLuciano Coelho <coelho@ti.com>
Thu, 7 Jun 2012 20:39:25 +0000 (23:39 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 8 Jun 2012 06:14:08 +0000 (09:14 +0300)
Since we will export the conf structure as a file, we need to use well
defined types.  Instead of using enum, whose size may vary, use u8 for
bcn_filt_mode instead.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/conf.h

index 2e84ae113fcec44c915ba685d7415dae72fa3207..0950bd22f4d99f6d8769251f0605670c250aaec1 100644 (file)
@@ -824,7 +824,7 @@ struct conf_conn_settings {
         *
         * Range: CONF_BCN_FILT_MODE_*
         */
-       enum conf_bcn_filt_mode bcn_filt_mode;
+       u8 bcn_filt_mode;
 
        /*
         * Configure Beacon filter pass-thru rules.