Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da860475 authored by Larry Finger's avatar Larry Finger Committed by John W. Linville
Browse files

b43: N PHY: Fix compilation after removal of typdef b43_c32



In the conversion between typedef and struct, two places that needed a "struct"
were missed.

Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d2bb8e02
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -822,7 +822,7 @@ static u16 b43_nphy_gen_load_samples(struct b43_wldev *dev, u32 freq, u16 max,
{
	int i;
	u16 bw, len, rot, angle;
	b43_c32 *samples;
	struct b43_c32 *samples;


	bw = (dev->phy.is_40mhz) ? 40 : 20;
@@ -840,7 +840,7 @@ static u16 b43_nphy_gen_load_samples(struct b43_wldev *dev, u32 freq, u16 max,
		len = bw << 1;
	}

	samples = kzalloc(len * sizeof(b43_c32), GFP_KERNEL);
	samples = kzalloc(len * sizeof(struct b43_c32), GFP_KERNEL);
	rot = (((freq * 36) / bw) << 16) / 100;
	angle = 0;