aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-06-04 21:04:23 -0400
committerGuido Guenther <agx@sigxcpu.org>2007-06-05 08:59:35 +0200
commitdbed28afc848bd4364823e9960c4c88a95f35d92 (patch)
tree8f00b6d615894fd73d754d5ac8789a2a51421e24
parent0210bbddffa2b512327039f59cf07c38bd1d6140 (diff)
[PATCH] Align all labels at position 6, as Lindent would do
Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r--at76_usb.c64
1 files changed, 32 insertions, 32 deletions
diff --git a/at76_usb.c b/at76_usb.c
index fc9b774..ce6904a 100644
--- a/at76_usb.c
+++ b/at76_usb.c
@@ -448,7 +448,7 @@ static int at76_usbdfu_download(struct usb_device *udev, u8 *dfu_buffer,
}
} while (!is_done && DFU_USB_SUCCESS(status));
- exit:
+ exit:
kfree(ctx);
if (status < 0)
return status;
@@ -794,7 +794,7 @@ static int at76_download_external_fw(struct usb_device *udev, u8 *buf, int size)
goto exit;
}
- exit:
+ exit:
kfree(block);
return ret;
}
@@ -1158,9 +1158,9 @@ static int at76_dump_mib_mac_addr(struct at76_priv *priv)
mac_addr->group_addr_status[0], mac_addr->group_addr_status[1],
mac_addr->group_addr_status[2], mac_addr->group_addr_status[3]);
- err:
+ err:
kfree(mac_addr);
- exit:
+ exit:
return ret;
}
@@ -1204,9 +1204,9 @@ static int at76_dump_mib_mac_wep(struct at76_priv *priv)
'\0') :
"<invalid key id>");
- err:
+ err:
kfree(mac_wep);
- exit:
+ exit:
return ret;
}
@@ -1260,9 +1260,9 @@ static int at76_dump_mib_mac_mgmt(struct at76_priv *priv)
mac_mgmt->multi_domain_capability_implemented,
mac_mgmt->multi_domain_capability_enabled,
country_string);
- err:
+ err:
kfree(mac_mgmt);
- exit:
+ exit:
return ret;
}
@@ -1310,7 +1310,7 @@ static int at76_dump_mib_mac(struct at76_priv *priv)
mac2str(mac->desired_bssid), mac->desired_bsstype);
err:
kfree(mac);
- exit:
+ exit:
return ret;
}
@@ -1348,9 +1348,9 @@ static int at76_dump_mib_phy(struct at76_priv *priv)
phy->operation_rate_set[2], phy->operation_rate_set[3],
phy->channel_id,
phy->current_cca_mode, phy->phy_type, phy->current_reg_domain);
- err:
+ err:
kfree(phy);
- exit:
+ exit:
return ret;
}
@@ -1378,9 +1378,9 @@ static int at76_dump_mib_local(struct at76_priv *priv)
local->beacon_enable,
local->txautorate_fallback,
local->ssid_size, local->promiscuous_mode, local->preamble_type);
- err:
+ err:
kfree(local);
- exit:
+ exit:
return ret;
}
@@ -1405,9 +1405,9 @@ static int at76_get_mib_mdomain(struct at76_priv *priv, struct mib_mdomain *val)
memcpy(val, mdomain, sizeof(*val));
- err:
+ err:
kfree(mdomain);
- exit:
+ exit:
return ret;
}
@@ -1452,9 +1452,9 @@ static int at76_get_current_bssid(struct at76_priv *priv)
}
memcpy(priv->bssid, mac_mgmt->current_bssid, ETH_ALEN);
info("using BSSID %s", mac2str(priv->bssid));
- err:
+ err:
kfree(mac_mgmt);
- exit:
+ exit:
return ret;
}
@@ -1474,9 +1474,9 @@ static int at76_get_current_channel(struct at76_priv *priv)
goto err;
}
priv->channel = phy->channel_id;
- err:
+ err:
kfree(phy);
- exit:
+ exit:
return ret;
}
@@ -3349,7 +3349,7 @@ static int at76_iw_handler_set_power(struct net_device *netdev,
}
priv->pm_mode = AT76_PM_ON;
}
-out:
+ out:
return err;
}
@@ -3832,7 +3832,7 @@ static int at76_tx(struct sk_buff *skb, struct net_device *netdev)
dev_kfree_skb(skb);
return 0;
- err:
+ err:
return ret;
}
@@ -3886,7 +3886,7 @@ static int at76_submit_rx_urb(struct at76_priv *priv)
err("%s: rx, usb_submit_urb failed: %d", priv->netdev->name, ret);
}
-exit:
+ exit:
if (ret < 0) {
if (ret != -ENODEV) {
/* If we can't submit the URB, the adapter becomes completely
@@ -3941,7 +3941,7 @@ static int at76_open(struct net_device *netdev)
schedule_work(&priv->work_restart);
at76_dbg(DBG_PROC_ENTRY, "at76_open end");
- err:
+ err:
mutex_unlock(&priv->mtx);
return ret < 0 ? ret : 0;
}
@@ -4134,7 +4134,7 @@ static int at76_init_new_device(struct at76_priv *priv)
/* we let this timer run the whole time this driver instance lives */
mod_timer(&priv->bss_list_timer, jiffies + BSS_LIST_TIMEOUT);
- error:
+ error:
return ret;
}
@@ -4175,7 +4175,7 @@ static int at76_load_external_fw(struct at76_priv *priv)
err("Downloading external firmware failed: %d", ret);
return ret;
- end_external_fw:
+ end_external_fw:
mutex_unlock(&priv->mtx);
return ret;
}
@@ -4213,7 +4213,7 @@ static int at76_load_internal_fw(struct at76_priv *priv)
usb_reset_device(priv->udev);
priv->istate = WAIT_FOR_DISCONNECT;
- end_internal_fw:
+ end_internal_fw:
mutex_unlock(&priv->mtx);
return ret;
}
@@ -4424,7 +4424,7 @@ static void at76_work_join(struct work_struct *work)
priv->istate = SCANNING;
schedule_work(&priv->work_scan);
- end_join:
+ end_join:
mutex_unlock(&priv->mtx);
}
@@ -4567,7 +4567,7 @@ static void at76_work_new_bss(struct work_struct *work)
if (ret < 0)
err("%s: set_mib (ibss change ok) failed: %d", netdev->name, ret);
- new_bss_clean:
+ new_bss_clean:
mutex_unlock(&priv->mtx);
}
@@ -4823,7 +4823,7 @@ static void at76_work_start_ibss(struct work_struct *work)
netif_carrier_on(priv->netdev);
netif_start_queue(priv->netdev);
- end_startibss:
+ end_startibss:
mutex_unlock(&priv->mtx);
}
@@ -5273,7 +5273,7 @@ static void at76_rx_mgmt_beacon(struct at76_priv *priv,
match->last_rx = jiffies; /* record last rx of beacon */
-rx_mgmt_beacon_end:
+ rx_mgmt_beacon_end:
spin_unlock_irqrestore(&priv->bss_list_spinlock, flags);
}
@@ -6041,9 +6041,9 @@ static void at76_rx_tasklet(unsigned long param)
info("%s: it's a frame from mars: %2x", priv->netdev->name,
frame_ctl);
}
- finish:
+ finish:
at76_submit_rx_urb(priv);
- no_more_urb:
+ no_more_urb:
return;
}