diff options
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmsmac/main.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |