aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmsmac
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac')
-rw-r--r--drivers/net/wireless/brcm80211/brcmsmac/dma.c2
-rw-r--r--drivers/net/wireless/brcm80211/brcmsmac/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/dma.c b/drivers/net/wireless/brcm80211/brcmsmac/dma.c
index 11054ae9d4f6..7516639412ec 100644
--- a/drivers/net/wireless/brcm80211/brcmsmac/dma.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/dma.c
@@ -1433,7 +1433,7 @@ void dma_walk_packets(struct dma_pub *dmah, void (*callback_fnc)
1433 struct ieee80211_tx_info *tx_info; 1433 struct ieee80211_tx_info *tx_info;
1434 1434
1435 while (i != end) { 1435 while (i != end) {
1436 skb = (struct sk_buff *)di->txp[i]; 1436 skb = di->txp[i];
1437 if (skb != NULL) { 1437 if (skb != NULL) {
1438 tx_info = (struct ieee80211_tx_info *)skb->cb; 1438 tx_info = (struct ieee80211_tx_info *)skb->cb;
1439 (callback_fnc)(tx_info, arg_a); 1439 (callback_fnc)(tx_info, arg_a);
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c
index 19db4052c44c..e67556780a31 100644
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
@@ -8318,7 +8318,7 @@ brcms_c_attach(struct brcms_info *wl, struct bcma_device *core, uint unit,
8318 struct brcms_pub *pub; 8318 struct brcms_pub *pub;
8319 8319
8320 /* allocate struct brcms_c_info state and its substructures */ 8320 /* allocate struct brcms_c_info state and its substructures */
8321 wlc = (struct brcms_c_info *) brcms_c_attach_malloc(unit, &err, 0); 8321 wlc = brcms_c_attach_malloc(unit, &err, 0);
8322 if (wlc == NULL) 8322 if (wlc == NULL)
8323 goto fail; 8323 goto fail;
8324 wlc->wiphy = wl->wiphy; 8324 wlc->wiphy = wl->wiphy;