aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/wl12xx/spi.c')
-rw-r--r--drivers/net/wireless/wl12xx/spi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/spi.c b/drivers/net/wireless/wl12xx/spi.c
index 46714910f98c..0132dad756c4 100644
--- a/drivers/net/wireless/wl12xx/spi.c
+++ b/drivers/net/wireless/wl12xx/spi.c
@@ -110,9 +110,9 @@ static void wl1271_spi_reset(struct wl1271 *wl)
110 spi_message_add_tail(&t, &m); 110 spi_message_add_tail(&t, &m);
111 111
112 spi_sync(wl_to_spi(wl), &m); 112 spi_sync(wl_to_spi(wl), &m);
113 kfree(cmd);
114 113
115 wl1271_dump(DEBUG_SPI, "spi reset -> ", cmd, WSPI_INIT_CMD_LEN); 114 wl1271_dump(DEBUG_SPI, "spi reset -> ", cmd, WSPI_INIT_CMD_LEN);
115 kfree(cmd);
116} 116}
117 117
118static void wl1271_spi_init(struct wl1271 *wl) 118static void wl1271_spi_init(struct wl1271 *wl)
@@ -495,4 +495,5 @@ MODULE_LICENSE("GPL");
495MODULE_AUTHOR("Luciano Coelho <luciano.coelho@nokia.com>"); 495MODULE_AUTHOR("Luciano Coelho <luciano.coelho@nokia.com>");
496MODULE_AUTHOR("Juuso Oikarinen <juuso.oikarinen@nokia.com>"); 496MODULE_AUTHOR("Juuso Oikarinen <juuso.oikarinen@nokia.com>");
497MODULE_FIRMWARE(WL1271_FW_NAME); 497MODULE_FIRMWARE(WL1271_FW_NAME);
498MODULE_FIRMWARE(WL1271_AP_FW_NAME);
498MODULE_ALIAS("spi:wl1271"); 499MODULE_ALIAS("spi:wl1271");