wl18xx: change fw name and temporarily fail loading
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / net / wireless / ti / wl18xx / main.c
index a39682a..8ba1c93 100644 (file)
@@ -595,7 +595,7 @@ static const struct wl18xx_clk_cfg wl18xx_clk_table[NUM_CLOCK_CONFIGS] = {
 };
 
 /* TODO: maybe move to a new header file? */
-#define WL18XX_FW_NAME "ti-connectivity/wl18xx-fw.bin"
+#define WL18XX_FW_NAME "ti-connectivity/wl18xx-fw-2.bin"
 
 static int wl18xx_identify_chip(struct wl1271 *wl)
 {
@@ -1385,6 +1385,10 @@ static int wl18xx_setup(struct wl1271 *wl)
        struct wl18xx_priv *priv = wl->priv;
        int ret;
 
+       wl1271_error("driver is in transitional commit (due to fw api"
+                    "change) and can't be booted!");
+       return -EINVAL;
+
        wl->rtable = wl18xx_rtable;
        wl->num_tx_desc = WL18XX_NUM_TX_DESCRIPTORS;
        wl->num_rx_desc = WL18XX_NUM_TX_DESCRIPTORS;