Lindent and trailing whitespace script executed ieee80211 subsystem

Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
This commit is contained in:
James Ketrenos 2005-10-03 10:23:42 -05:00
parent c1bda44a4a
commit ff0037b259
2 changed files with 24 additions and 17 deletions

View file

@ -917,8 +917,9 @@ static int ieee80211_parse_qos_info_param_IE(struct ieee80211_info_element
return rc;
}
static int ieee80211_parse_info_param(struct ieee80211_info_element *info_element,
u16 length, struct ieee80211_network *network)
static int ieee80211_parse_info_param(struct ieee80211_info_element
*info_element, u16 length,
struct ieee80211_network *network)
{
u8 i;
#ifdef CONFIG_IEEE80211_DEBUG
@ -1074,7 +1075,8 @@ static int ieee80211_parse_info_param(struct ieee80211_info_element *info_elemen
break;
case MFIE_TYPE_QOS_PARAMETER:
printk(KERN_ERR "QoS Error need to parse QOS_PARAMETER IE\n");
printk(KERN_ERR
"QoS Error need to parse QOS_PARAMETER IE\n");
break;
default:
@ -1084,7 +1086,9 @@ static int ieee80211_parse_info_param(struct ieee80211_info_element *info_elemen
}
length -= sizeof(*info_element) + info_element->len;
info_element = (struct ieee80211_info_element *) &info_element->data[info_element->len];
info_element =
(struct ieee80211_info_element *)&info_element->
data[info_element->len];
}
return 0;
@ -1112,7 +1116,8 @@ static int ieee80211_handle_assoc_resp(struct ieee80211_device *ieee, struct iee
network->rates_len = network->rates_ex_len = 0;
network->last_associate = 0;
network->ssid_len = 0;
network->erp_value = (network->capability & WLAN_CAPABILITY_IBSS) ? 0x3 : 0x0;
network->erp_value =
(network->capability & WLAN_CAPABILITY_IBSS) ? 0x3 : 0x0;
if (stats->freq == IEEE80211_52GHZ_BAND) {
/* for A band (No DS info) */
@ -1123,7 +1128,8 @@ static int ieee80211_handle_assoc_resp(struct ieee80211_device *ieee, struct iee
network->wpa_ie_len = 0;
network->rsn_ie_len = 0;
if(ieee80211_parse_info_param(frame->info_element, stats->len - sizeof(*frame), network))
if (ieee80211_parse_info_param
(frame->info_element, stats->len - sizeof(*frame), network))
return 1;
network->mode = 0;
@ -1185,7 +1191,8 @@ static inline int ieee80211_network_init(struct ieee80211_device *ieee, struct i
network->wpa_ie_len = 0;
network->rsn_ie_len = 0;
if(ieee80211_parse_info_param(beacon->info_element, stats->len - sizeof(*beacon), network))
if (ieee80211_parse_info_param
(beacon->info_element, stats->len - sizeof(*beacon), network))
return 1;
network->mode = 0;