diff options
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251.c b/drivers/net/wireless/wl12xx/wl1251.c index b793325d619e..903624a540a3 100644 --- a/drivers/net/wireless/wl12xx/wl1251.c +++ b/drivers/net/wireless/wl12xx/wl1251.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #include "boot.h" | 30 | #include "boot.h" |
31 | #include "event.h" | 31 | #include "event.h" |
32 | #include "acx.h" | 32 | #include "acx.h" |
33 | #include "tx.h" | 33 | #include "wl1251_tx.h" |
34 | #include "rx.h" | 34 | #include "rx.h" |
35 | #include "ps.h" | 35 | #include "ps.h" |
36 | #include "init.h" | 36 | #include "init.h" |
@@ -471,7 +471,7 @@ static void wl1251_irq_work(struct work_struct *work) | |||
471 | 471 | ||
472 | if (intr & WL1251_ACX_INTR_TX_RESULT) { | 472 | if (intr & WL1251_ACX_INTR_TX_RESULT) { |
473 | wl12xx_debug(DEBUG_IRQ, "WL1251_ACX_INTR_TX_RESULT"); | 473 | wl12xx_debug(DEBUG_IRQ, "WL1251_ACX_INTR_TX_RESULT"); |
474 | wl12xx_tx_complete(wl); | 474 | wl1251_tx_complete(wl); |
475 | } | 475 | } |
476 | 476 | ||
477 | if (intr & (WL1251_ACX_INTR_EVENT_A | WL1251_ACX_INTR_EVENT_B)) { | 477 | if (intr & (WL1251_ACX_INTR_EVENT_A | WL1251_ACX_INTR_EVENT_B)) { |
@@ -712,9 +712,12 @@ void wl1251_setup(struct wl12xx *wl) | |||
712 | wl->chip.op_hw_init = wl1251_hw_init; | 712 | wl->chip.op_hw_init = wl1251_hw_init; |
713 | wl->chip.op_plt_init = wl1251_plt_init; | 713 | wl->chip.op_plt_init = wl1251_plt_init; |
714 | wl->chip.op_fw_version = wl1251_fw_version; | 714 | wl->chip.op_fw_version = wl1251_fw_version; |
715 | wl->chip.op_tx_flush = wl1251_tx_flush; | ||
715 | 716 | ||
716 | wl->chip.p_table = wl1251_part_table; | 717 | wl->chip.p_table = wl1251_part_table; |
717 | wl->chip.acx_reg_table = wl1251_acx_reg_table; | 718 | wl->chip.acx_reg_table = wl1251_acx_reg_table; |
718 | 719 | ||
719 | INIT_WORK(&wl->irq_work, wl1251_irq_work); | 720 | INIT_WORK(&wl->irq_work, wl1251_irq_work); |
721 | INIT_WORK(&wl->tx_work, wl1251_tx_work); | ||
722 | |||
720 | } | 723 | } |