generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters
[openwrt.git] / target / linux / ar71xx / patches-3.3 / 101-MIPS-ath79-avoid-a-kernel-bug-on-AR913X.patch
1 From cf6855546330c3d349d41496975f32255bb6fd07 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Fri, 9 Dec 2011 22:02:57 +0100
4 Subject: [PATCH 01/35] MIPS: ath79: avoid a kernel bug on AR913X
5
6 Wireless mac registration causes a BUG on AR913X SoCs due to
7 a missing 'else'.
8
9 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
10 ---
11 arch/mips/ath79/dev-wmac.c | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 --- a/arch/mips/ath79/dev-wmac.c
15 +++ b/arch/mips/ath79/dev-wmac.c
16 @@ -96,7 +96,7 @@ void __init ath79_register_wmac(u8 *cal_
17 {
18 if (soc_is_ar913x())
19 ar913x_wmac_setup();
20 - if (soc_is_ar933x())
21 + else if (soc_is_ar933x())
22 ar933x_wmac_setup();
23 else
24 BUG();
This page took 0.052521 seconds and 5 git commands to generate.