Commit 003a2d18 authored by Xenia Ragiadakou's avatar Xenia Ragiadakou Committed by Greg Kroah-Hartman

staging: rtl8192u: remove space after reference '&' in r8192U_core.c

This patch fixes the following checkpatch error:
ERROR: space prohibited after that '&'
Signed-off-by: default avatarXenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 15f6d3a4
...@@ -1376,7 +1376,7 @@ void rtl8192_config_rate(struct net_device *dev, u16 *rate_config) ...@@ -1376,7 +1376,7 @@ void rtl8192_config_rate(struct net_device *dev, u16 *rate_config)
struct r8192_priv *priv = ieee80211_priv(dev); struct r8192_priv *priv = ieee80211_priv(dev);
struct ieee80211_network *net; struct ieee80211_network *net;
u8 i = 0, basic_rate = 0; u8 i = 0, basic_rate = 0;
net = & priv->ieee80211->current_network; net = &priv->ieee80211->current_network;
for (i = 0; i < net->rates_len; i++) { for (i = 0; i < net->rates_len; i++) {
basic_rate = net->rates[i]&0x7f; basic_rate = net->rates[i]&0x7f;
...@@ -1447,7 +1447,7 @@ void rtl8192_net_update(struct net_device *dev) ...@@ -1447,7 +1447,7 @@ void rtl8192_net_update(struct net_device *dev)
struct ieee80211_network *net; struct ieee80211_network *net;
u16 BcnTimeCfg = 0, BcnCW = 6, BcnIFS = 0xf; u16 BcnTimeCfg = 0, BcnCW = 6, BcnIFS = 0xf;
u16 rate_config = 0; u16 rate_config = 0;
net = & priv->ieee80211->current_network; net = &priv->ieee80211->current_network;
rtl8192_config_rate(dev, &rate_config); rtl8192_config_rate(dev, &rate_config);
priv->basic_rate = rate_config &= 0x15f; priv->basic_rate = rate_config &= 0x15f;
......
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