staging: rtl8192u: remove space after reference '&' in r8192U_core.c
authorXenia Ragiadakou <burzalodowa@gmail.com>
Tue, 4 Jun 2013 20:32:29 +0000 (23:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jun 2013 22:37:21 +0000 (15:37 -0700)
This patch fixes the following checkpatch error:
ERROR: space prohibited after that '&'

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c

index ffa9bf317d26b79a90a5b2d39e2b52b7b43ec6cc..e7d530783edd51eec435dc4d5cfbc7595da98433 100644 (file)
@@ -1376,7 +1376,7 @@ void rtl8192_config_rate(struct net_device *dev, u16 *rate_config)
        struct r8192_priv *priv = ieee80211_priv(dev);
        struct ieee80211_network *net;
        u8 i = 0, basic_rate = 0;
-       net = & priv->ieee80211->current_network;
+       net = &priv->ieee80211->current_network;
 
        for (i = 0; i < net->rates_len; i++) {
                basic_rate = net->rates[i]&0x7f;
@@ -1447,7 +1447,7 @@ void rtl8192_net_update(struct net_device *dev)
        struct ieee80211_network *net;
        u16 BcnTimeCfg = 0, BcnCW = 6, BcnIFS = 0xf;
        u16 rate_config = 0;
-       net = & priv->ieee80211->current_network;
+       net = &priv->ieee80211->current_network;
 
        rtl8192_config_rate(dev, &rate_config);
        priv->basic_rate = rate_config &= 0x15f;