1 --- a/src/drivers/drivers.mak
2 +++ b/src/drivers/drivers.mak
3 @@ -36,7 +36,6 @@ NEED_SME=y
11 @@ -123,7 +122,6 @@ DRV_WPA_CFLAGS += -DCONFIG_DRIVER_WEXT
12 CONFIG_WIRELESS_EXTENSION=y
18 ifdef CONFIG_DRIVER_NDIS
19 @@ -149,7 +147,6 @@ endif
20 ifdef CONFIG_WIRELESS_EXTENSION
21 DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
22 DRV_WPA_OBJS += ../src/drivers/driver_wext.o
27 @@ -162,6 +159,7 @@ endif
30 DRV_OBJS += ../src/drivers/rfkill.o
31 +DRV_WPA_CFLAGS += -DCONFIG_RFKILL
35 --- a/src/drivers/rfkill.h
36 +++ b/src/drivers/rfkill.h
37 @@ -18,8 +18,24 @@ struct rfkill_config {
38 void (*unblocked_cb)(void *ctx);
42 struct rfkill_data * rfkill_init(struct rfkill_config *cfg);
43 void rfkill_deinit(struct rfkill_data *rfkill);
44 int rfkill_is_blocked(struct rfkill_data *rfkill);
46 +static inline struct rfkill_data * rfkill_init(struct rfkill_config *cfg)
51 +static inline void rfkill_deinit(struct rfkill_data *rfkill)
55 +static inline int rfkill_is_blocked(struct rfkill_data *rfkill)