carl9170 firmware: only compile radar generator if selected
[carl9170fw.git] / carlfw / include / carl9170.h
index df41f8461bf4e1acbfb1fadf7c63a2234de74e58..9e6d23818cf06c9009fd3353330307f6d0cf7bfc 100644 (file)
@@ -144,9 +144,13 @@ struct firmware_context_struct {
                             ba_head_idx,
                             queued_ba;
 
+               unsigned int queued_bar;
+
+#ifdef CONFIG_CARL9170FW_RADAR
                unsigned int soft_radar,
                             radar_last,
                             pattern_index;
+#endif /* CONFIG_CARL9170FW_RADAR */
        } wlan;
 
        struct {