|
@@ -2797,7 +2797,7 @@ static int brcmf_tx_frame(struct brcmf_sdio *bus, u8 *frame, u16 len)
|
|
|
}
|
|
|
|
|
|
int
|
|
|
-brcmf_sdbrcm_bus_txctl(struct brcmf_sdio *bus, unsigned char *msg, uint msglen)
|
|
|
+brcmf_sdbrcm_bus_txctl(struct device *dev, unsigned char *msg, uint msglen)
|
|
|
{
|
|
|
u8 *frame;
|
|
|
u16 len;
|
|
@@ -2805,6 +2805,9 @@ brcmf_sdbrcm_bus_txctl(struct brcmf_sdio *bus, unsigned char *msg, uint msglen)
|
|
|
uint retries = 0;
|
|
|
u8 doff = 0;
|
|
|
int ret = -1;
|
|
|
+ struct brcmf_bus *bus_if = dev_get_drvdata(dev);
|
|
|
+ struct brcmf_sdio_dev *sdiodev = bus_if->bus_priv;
|
|
|
+ struct brcmf_sdio *bus = sdiodev->bus;
|
|
|
|
|
|
brcmf_dbg(TRACE, "Enter\n");
|
|
|
|