Merge tag 'wireless-drivers-next-for-davem-2016-02-12' of git://git.kernel.org/pub...
[platform/kernel/linux-exynos.git] / drivers / net / wireless / broadcom / brcm80211 / brcmfmac / sdio.c
index 6776e45..c790fa8 100644 (file)
@@ -4113,6 +4113,11 @@ struct brcmf_sdio *brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev)
                goto fail;
        }
 
+       /* allocate scatter-gather table. sg support
+        * will be disabled upon allocation failure.
+        */
+       brcmf_sdiod_sgtable_alloc(bus->sdiodev);
+
        /* Query the F2 block size, set roundup accordingly */
        bus->blocksize = bus->sdiodev->func[2]->cur_blksize;
        bus->roundup = min(max_roundup, bus->blocksize);