diff options
author | Taehee Yoo <ap420073@gmail.com> | 2015-03-20 06:31:33 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-03-30 04:30:07 -0400 |
commit | e480e1344873b6a715d06a003e603d86a11a4033 (patch) | |
tree | 5cf27c98279699bf712125b29a89216c0b0ed749 /drivers/net/wireless/rtlwifi/rtl8192cu/mac.c | |
parent | 01fbd4ecff4f8dc8ca9614778326cc159705623e (diff) |
rtlwifi: Change REG_CR+2 to MSR
I changed REG_CR+2 and (MSR) to MSR because MSR is defined as (REG_CR + 2).
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192cu/mac.c')
-rw-r--r-- | drivers/net/wireless/rtlwifi/rtl8192cu/mac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/mac.c b/drivers/net/wireless/rtlwifi/rtl8192cu/mac.c index 133e395b7401..adb810794eef 100644 --- a/drivers/net/wireless/rtlwifi/rtl8192cu/mac.c +++ b/drivers/net/wireless/rtlwifi/rtl8192cu/mac.c | |||
@@ -497,7 +497,7 @@ int rtl92c_set_network_type(struct ieee80211_hw *hw, enum nl80211_iftype type) | |||
497 | "Network type %d not supported!\n", type); | 497 | "Network type %d not supported!\n", type); |
498 | return -EOPNOTSUPP; | 498 | return -EOPNOTSUPP; |
499 | } | 499 | } |
500 | rtl_write_byte(rtlpriv, (REG_CR + 2), value); | 500 | rtl_write_byte(rtlpriv, MSR, value); |
501 | return 0; | 501 | return 0; |
502 | } | 502 | } |
503 | 503 | ||