Commit 9fd1ea42 authored by Frans Pop's avatar Frans Pop Committed by John W. Linville

wireless/ipw2x00: remove trailing space in messages

Signed-off-by: default avatarFrans Pop <elendil@planet.nl>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 879999ce
...@@ -2140,7 +2140,7 @@ static void isr_indicate_association_lost(struct ipw2100_priv *priv, u32 status) ...@@ -2140,7 +2140,7 @@ static void isr_indicate_association_lost(struct ipw2100_priv *priv, u32 status)
DECLARE_SSID_BUF(ssid); DECLARE_SSID_BUF(ssid);
IPW_DEBUG(IPW_DL_NOTIF | IPW_DL_STATE | IPW_DL_ASSOC, IPW_DEBUG(IPW_DL_NOTIF | IPW_DL_STATE | IPW_DL_ASSOC,
"disassociated: '%s' %pM \n", "disassociated: '%s' %pM\n",
print_ssid(ssid, priv->essid, priv->essid_len), print_ssid(ssid, priv->essid, priv->essid_len),
priv->bssid); priv->bssid);
...@@ -3285,7 +3285,7 @@ static void ipw2100_irq_tasklet(struct ipw2100_priv *priv) ...@@ -3285,7 +3285,7 @@ static void ipw2100_irq_tasklet(struct ipw2100_priv *priv)
if (inta & IPW2100_INTA_PARITY_ERROR) { if (inta & IPW2100_INTA_PARITY_ERROR) {
printk(KERN_ERR DRV_NAME printk(KERN_ERR DRV_NAME
": ***** PARITY ERROR INTERRUPT !!!! \n"); ": ***** PARITY ERROR INTERRUPT !!!!\n");
priv->inta_other++; priv->inta_other++;
write_register(dev, IPW_REG_INTA, IPW2100_INTA_PARITY_ERROR); write_register(dev, IPW_REG_INTA, IPW2100_INTA_PARITY_ERROR);
} }
...@@ -6753,7 +6753,7 @@ static int ipw2100_wx_set_freq(struct net_device *dev, ...@@ -6753,7 +6753,7 @@ static int ipw2100_wx_set_freq(struct net_device *dev,
err = -EOPNOTSUPP; err = -EOPNOTSUPP;
goto done; goto done;
} else { /* Set the channel */ } else { /* Set the channel */
IPW_DEBUG_WX("SET Freq/Channel -> %d \n", fwrq->m); IPW_DEBUG_WX("SET Freq/Channel -> %d\n", fwrq->m);
err = ipw2100_set_channel(priv, fwrq->m, 0); err = ipw2100_set_channel(priv, fwrq->m, 0);
} }
...@@ -6782,7 +6782,7 @@ static int ipw2100_wx_get_freq(struct net_device *dev, ...@@ -6782,7 +6782,7 @@ static int ipw2100_wx_get_freq(struct net_device *dev,
else else
wrqu->freq.m = 0; wrqu->freq.m = 0;
IPW_DEBUG_WX("GET Freq/Channel -> %d \n", priv->channel); IPW_DEBUG_WX("GET Freq/Channel -> %d\n", priv->channel);
return 0; return 0;
} }
...@@ -6794,7 +6794,7 @@ static int ipw2100_wx_set_mode(struct net_device *dev, ...@@ -6794,7 +6794,7 @@ static int ipw2100_wx_set_mode(struct net_device *dev,
struct ipw2100_priv *priv = libipw_priv(dev); struct ipw2100_priv *priv = libipw_priv(dev);
int err = 0; int err = 0;
IPW_DEBUG_WX("SET Mode -> %d \n", wrqu->mode); IPW_DEBUG_WX("SET Mode -> %d\n", wrqu->mode);
if (wrqu->mode == priv->ieee->iw_mode) if (wrqu->mode == priv->ieee->iw_mode)
return 0; return 0;
...@@ -7149,7 +7149,7 @@ static int ipw2100_wx_set_nick(struct net_device *dev, ...@@ -7149,7 +7149,7 @@ static int ipw2100_wx_set_nick(struct net_device *dev,
memset(priv->nick, 0, sizeof(priv->nick)); memset(priv->nick, 0, sizeof(priv->nick));
memcpy(priv->nick, extra, wrqu->data.length); memcpy(priv->nick, extra, wrqu->data.length);
IPW_DEBUG_WX("SET Nickname -> %s \n", priv->nick); IPW_DEBUG_WX("SET Nickname -> %s\n", priv->nick);
return 0; return 0;
} }
...@@ -7168,7 +7168,7 @@ static int ipw2100_wx_get_nick(struct net_device *dev, ...@@ -7168,7 +7168,7 @@ static int ipw2100_wx_get_nick(struct net_device *dev,
memcpy(extra, priv->nick, wrqu->data.length); memcpy(extra, priv->nick, wrqu->data.length);
wrqu->data.flags = 1; /* active */ wrqu->data.flags = 1; /* active */
IPW_DEBUG_WX("GET Nickname -> %s \n", extra); IPW_DEBUG_WX("GET Nickname -> %s\n", extra);
return 0; return 0;
} }
...@@ -7207,7 +7207,7 @@ static int ipw2100_wx_set_rate(struct net_device *dev, ...@@ -7207,7 +7207,7 @@ static int ipw2100_wx_set_rate(struct net_device *dev,
err = ipw2100_set_tx_rates(priv, rate, 0); err = ipw2100_set_tx_rates(priv, rate, 0);
IPW_DEBUG_WX("SET Rate -> %04X \n", rate); IPW_DEBUG_WX("SET Rate -> %04X\n", rate);
done: done:
mutex_unlock(&priv->action_mutex); mutex_unlock(&priv->action_mutex);
return err; return err;
...@@ -7258,7 +7258,7 @@ static int ipw2100_wx_get_rate(struct net_device *dev, ...@@ -7258,7 +7258,7 @@ static int ipw2100_wx_get_rate(struct net_device *dev,
wrqu->bitrate.value = 0; wrqu->bitrate.value = 0;
} }
IPW_DEBUG_WX("GET Rate -> %d \n", wrqu->bitrate.value); IPW_DEBUG_WX("GET Rate -> %d\n", wrqu->bitrate.value);
done: done:
mutex_unlock(&priv->action_mutex); mutex_unlock(&priv->action_mutex);
...@@ -7294,7 +7294,7 @@ static int ipw2100_wx_set_rts(struct net_device *dev, ...@@ -7294,7 +7294,7 @@ static int ipw2100_wx_set_rts(struct net_device *dev,
err = ipw2100_set_rts_threshold(priv, value); err = ipw2100_set_rts_threshold(priv, value);
IPW_DEBUG_WX("SET RTS Threshold -> 0x%08X \n", value); IPW_DEBUG_WX("SET RTS Threshold -> 0x%08X\n", value);
done: done:
mutex_unlock(&priv->action_mutex); mutex_unlock(&priv->action_mutex);
return err; return err;
...@@ -7316,7 +7316,7 @@ static int ipw2100_wx_get_rts(struct net_device *dev, ...@@ -7316,7 +7316,7 @@ static int ipw2100_wx_get_rts(struct net_device *dev,
/* If RTS is set to the default value, then it is disabled */ /* If RTS is set to the default value, then it is disabled */
wrqu->rts.disabled = (priv->rts_threshold & RTS_DISABLED) ? 1 : 0; wrqu->rts.disabled = (priv->rts_threshold & RTS_DISABLED) ? 1 : 0;
IPW_DEBUG_WX("GET RTS Threshold -> 0x%08X \n", wrqu->rts.value); IPW_DEBUG_WX("GET RTS Threshold -> 0x%08X\n", wrqu->rts.value);
return 0; return 0;
} }
...@@ -7355,7 +7355,7 @@ static int ipw2100_wx_set_txpow(struct net_device *dev, ...@@ -7355,7 +7355,7 @@ static int ipw2100_wx_set_txpow(struct net_device *dev,
err = ipw2100_set_tx_power(priv, value); err = ipw2100_set_tx_power(priv, value);
IPW_DEBUG_WX("SET TX Power -> %d \n", value); IPW_DEBUG_WX("SET TX Power -> %d\n", value);
done: done:
mutex_unlock(&priv->action_mutex); mutex_unlock(&priv->action_mutex);
...@@ -7384,7 +7384,7 @@ static int ipw2100_wx_get_txpow(struct net_device *dev, ...@@ -7384,7 +7384,7 @@ static int ipw2100_wx_get_txpow(struct net_device *dev,
wrqu->txpower.flags = IW_TXPOW_DBM; wrqu->txpower.flags = IW_TXPOW_DBM;
IPW_DEBUG_WX("GET TX Power -> %d \n", wrqu->txpower.value); IPW_DEBUG_WX("GET TX Power -> %d\n", wrqu->txpower.value);
return 0; return 0;
} }
...@@ -7414,7 +7414,7 @@ static int ipw2100_wx_set_frag(struct net_device *dev, ...@@ -7414,7 +7414,7 @@ static int ipw2100_wx_set_frag(struct net_device *dev,
priv->frag_threshold = priv->ieee->fts; priv->frag_threshold = priv->ieee->fts;
} }
IPW_DEBUG_WX("SET Frag Threshold -> %d \n", priv->ieee->fts); IPW_DEBUG_WX("SET Frag Threshold -> %d\n", priv->ieee->fts);
return 0; return 0;
} }
...@@ -7432,7 +7432,7 @@ static int ipw2100_wx_get_frag(struct net_device *dev, ...@@ -7432,7 +7432,7 @@ static int ipw2100_wx_get_frag(struct net_device *dev,
wrqu->frag.fixed = 0; /* no auto select */ wrqu->frag.fixed = 0; /* no auto select */
wrqu->frag.disabled = (priv->frag_threshold & FRAG_DISABLED) ? 1 : 0; wrqu->frag.disabled = (priv->frag_threshold & FRAG_DISABLED) ? 1 : 0;
IPW_DEBUG_WX("GET Frag Threshold -> %d \n", wrqu->frag.value); IPW_DEBUG_WX("GET Frag Threshold -> %d\n", wrqu->frag.value);
return 0; return 0;
} }
...@@ -7458,14 +7458,14 @@ static int ipw2100_wx_set_retry(struct net_device *dev, ...@@ -7458,14 +7458,14 @@ static int ipw2100_wx_set_retry(struct net_device *dev,
if (wrqu->retry.flags & IW_RETRY_SHORT) { if (wrqu->retry.flags & IW_RETRY_SHORT) {
err = ipw2100_set_short_retry(priv, wrqu->retry.value); err = ipw2100_set_short_retry(priv, wrqu->retry.value);
IPW_DEBUG_WX("SET Short Retry Limit -> %d \n", IPW_DEBUG_WX("SET Short Retry Limit -> %d\n",
wrqu->retry.value); wrqu->retry.value);
goto done; goto done;
} }
if (wrqu->retry.flags & IW_RETRY_LONG) { if (wrqu->retry.flags & IW_RETRY_LONG) {
err = ipw2100_set_long_retry(priv, wrqu->retry.value); err = ipw2100_set_long_retry(priv, wrqu->retry.value);
IPW_DEBUG_WX("SET Long Retry Limit -> %d \n", IPW_DEBUG_WX("SET Long Retry Limit -> %d\n",
wrqu->retry.value); wrqu->retry.value);
goto done; goto done;
} }
...@@ -7474,7 +7474,7 @@ static int ipw2100_wx_set_retry(struct net_device *dev, ...@@ -7474,7 +7474,7 @@ static int ipw2100_wx_set_retry(struct net_device *dev,
if (!err) if (!err)
err = ipw2100_set_long_retry(priv, wrqu->retry.value); err = ipw2100_set_long_retry(priv, wrqu->retry.value);
IPW_DEBUG_WX("SET Both Retry Limits -> %d \n", wrqu->retry.value); IPW_DEBUG_WX("SET Both Retry Limits -> %d\n", wrqu->retry.value);
done: done:
mutex_unlock(&priv->action_mutex); mutex_unlock(&priv->action_mutex);
...@@ -7508,7 +7508,7 @@ static int ipw2100_wx_get_retry(struct net_device *dev, ...@@ -7508,7 +7508,7 @@ static int ipw2100_wx_get_retry(struct net_device *dev,
wrqu->retry.value = priv->short_retry_limit; wrqu->retry.value = priv->short_retry_limit;
} }
IPW_DEBUG_WX("GET Retry -> %d \n", wrqu->retry.value); IPW_DEBUG_WX("GET Retry -> %d\n", wrqu->retry.value);
return 0; return 0;
} }
......
This diff is collapsed.
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