Commit 7959c331 authored by Marko Stankovic's avatar Marko Stankovic Committed by Greg Kroah-Hartman

staging: vt6655: align function parameters to open parenthesis

Alignment styles are used interchangeably, align parameters to open
parenthesis and fix issues reported by checkpatch.pl
Signed-off-by: default avatarMarko Stankovic <dartnorris@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fc0f0bd6
...@@ -1310,8 +1310,8 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed) ...@@ -1310,8 +1310,8 @@ static int vnt_config(struct ieee80211_hw *hw, u32 changed)
} }
static void vnt_bss_info_changed(struct ieee80211_hw *hw, static void vnt_bss_info_changed(struct ieee80211_hw *hw,
struct ieee80211_vif *vif, struct ieee80211_bss_conf *conf, struct ieee80211_vif *vif,
u32 changed) struct ieee80211_bss_conf *conf, u32 changed)
{ {
struct vnt_private *priv = hw->priv; struct vnt_private *priv = hw->priv;
...@@ -1401,7 +1401,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw, ...@@ -1401,7 +1401,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw *hw,
} }
static u64 vnt_prepare_multicast(struct ieee80211_hw *hw, static u64 vnt_prepare_multicast(struct ieee80211_hw *hw,
struct netdev_hw_addr_list *mc_list) struct netdev_hw_addr_list *mc_list)
{ {
struct vnt_private *priv = hw->priv; struct vnt_private *priv = hw->priv;
struct netdev_hw_addr *ha; struct netdev_hw_addr *ha;
...@@ -1420,7 +1420,8 @@ static u64 vnt_prepare_multicast(struct ieee80211_hw *hw, ...@@ -1420,7 +1420,8 @@ static u64 vnt_prepare_multicast(struct ieee80211_hw *hw,
} }
static void vnt_configure(struct ieee80211_hw *hw, static void vnt_configure(struct ieee80211_hw *hw,
unsigned int changed_flags, unsigned int *total_flags, u64 multicast) unsigned int changed_flags,
unsigned int *total_flags, u64 multicast)
{ {
struct vnt_private *priv = hw->priv; struct vnt_private *priv = hw->priv;
u8 rx_mode = 0; u8 rx_mode = 0;
...@@ -1481,8 +1482,8 @@ static void vnt_configure(struct ieee80211_hw *hw, ...@@ -1481,8 +1482,8 @@ static void vnt_configure(struct ieee80211_hw *hw,
} }
static int vnt_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, static int vnt_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_vif *vif, struct ieee80211_sta *sta,
struct ieee80211_key_conf *key) struct ieee80211_key_conf *key)
{ {
struct vnt_private *priv = hw->priv; struct vnt_private *priv = hw->priv;
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
#include "mac.h" #include "mac.h"
static int vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, static int vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr,
struct ieee80211_key_conf *key, u32 key_type, u32 mode, struct ieee80211_key_conf *key, u32 key_type,
bool onfly_latch) u32 mode, bool onfly_latch)
{ {
struct vnt_private *priv = hw->priv; struct vnt_private *priv = hw->priv;
u8 broadcast[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; u8 broadcast[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment