On 8/2/2017 1:59 PM, Souptick Joarder wrote:
In _rtl_init_mac80211(), hardcoded value for hw->max_listen_interval
and hw->max_rate_tries are replaced by macro and removed the comment.

Signed-off-by: Souptick Joarder <jrdr.li...@gmail.com>
---
  drivers/net/wireless/realtek/rtlwifi/base.c | 5 ++---
  drivers/net/wireless/realtek/rtlwifi/base.h | 2 ++
  2 files changed, 4 insertions(+), 3 deletions(-)

[...]

diff --git a/drivers/net/wireless/realtek/rtlwifi/base.h 
b/drivers/net/wireless/realtek/rtlwifi/base.h
index ab7d819..c591d75 100644
--- a/drivers/net/wireless/realtek/rtlwifi/base.h
+++ b/drivers/net/wireless/realtek/rtlwifi/base.h
@@ -65,6 +65,8 @@ enum ap_peer {
  #define FRAME_OFFSET_ADDRESS3         16
  #define FRAME_OFFSET_SEQUENCE         22
  #define FRAME_OFFSET_ADDRESS4         24
+#define MAX_LISTEN_INTERVAL             10
+#define MAX_RATE_TRIES                  4

It is not so nice to mix tabs and spaces like that. Better adhere to the existing convention.

Regards,
Arend

Reply via email to