diff options
Diffstat (limited to 'drivers/net/wireless/wl12xx/io.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/io.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/io.c b/drivers/net/wireless/wl12xx/io.c index d557f73e7c19..da5c1ad942a4 100644 --- a/drivers/net/wireless/wl12xx/io.c +++ b/drivers/net/wireless/wl12xx/io.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "wl12xx.h" | 29 | #include "wl12xx.h" |
30 | #include "wl12xx_80211.h" | 30 | #include "wl12xx_80211.h" |
31 | #include "io.h" | 31 | #include "io.h" |
32 | #include "tx.h" | ||
32 | 33 | ||
33 | #define OCP_CMD_LOOP 32 | 34 | #define OCP_CMD_LOOP 32 |
34 | 35 | ||
@@ -43,6 +44,16 @@ | |||
43 | #define OCP_STATUS_REQ_FAILED 0x20000 | 44 | #define OCP_STATUS_REQ_FAILED 0x20000 |
44 | #define OCP_STATUS_RESP_ERROR 0x30000 | 45 | #define OCP_STATUS_RESP_ERROR 0x30000 |
45 | 46 | ||
47 | bool wl1271_set_block_size(struct wl1271 *wl) | ||
48 | { | ||
49 | if (wl->if_ops->set_block_size) { | ||
50 | wl->if_ops->set_block_size(wl, WL12XX_BUS_BLOCK_SIZE); | ||
51 | return true; | ||
52 | } | ||
53 | |||
54 | return false; | ||
55 | } | ||
56 | |||
46 | void wl1271_disable_interrupts(struct wl1271 *wl) | 57 | void wl1271_disable_interrupts(struct wl1271 *wl) |
47 | { | 58 | { |
48 | wl->if_ops->disable_irq(wl); | 59 | wl->if_ops->disable_irq(wl); |