diff options
author | Xenia Ragiadakou <burzalodowa@gmail.com> | 2013-06-09 11:38:43 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-12 00:18:04 (GMT) |
commit | 4a8d1135548bafe2566ceaa5032981ce6999a86c (patch) | |
tree | 9c0dbadfc0f6a1357f11e0d593fdce3609c8df8a /drivers/staging/rtl8192u/r819xU_phy.c | |
parent | 631edcdc459eaa72117303b20a392d0413e7c56a (diff) | |
download | linux-4a8d1135548bafe2566ceaa5032981ce6999a86c.tar.xz |
staging: rtl8192u: fix macros in r8192U.h
This patch fixes the macros in r8192U.h.
More specifically:
1) removes the ';' from the end of the macro definition
and changes according the files that are affected by
this change by adding ';' at the end of the macro call
2) replaces printk with pr_debug, when applicable
3) replaces __FUNCTION__ with __func__
4) fixes the framing when the macro contains complex expressions
5) renames macro 'assert' as 'RTL9192U_ASSERT', so that it
cannot be confused with the c function assert(), and changes
accordingly the files affected by this change
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192u/r819xU_phy.c')
-rw-r--r-- | drivers/staging/rtl8192u/r819xU_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r819xU_phy.c b/drivers/staging/rtl8192u/r819xU_phy.c index 60cba80..d66d88c 100644 --- a/drivers/staging/rtl8192u/r819xU_phy.c +++ b/drivers/staging/rtl8192u/r819xU_phy.c @@ -1519,7 +1519,7 @@ void rtl8192_SetBWModeWorkItem(struct net_device *dev) u8 regBwOpMode; RT_TRACE(COMP_SWBW, "==>rtl8192_SetBWModeWorkItem() Switch to %s bandwidth\n", \ - priv->CurrentChannelBW == HT_CHANNEL_WIDTH_20?"20MHz":"40MHz") + priv->CurrentChannelBW == HT_CHANNEL_WIDTH_20?"20MHz":"40MHz"); if(priv->rf_chip == RF_PSEUDO_11N) |