Skip to contentSkip to conversation

staging: rtl8192u: ieee80211: ieee80211_softmac: Replace driver specific macro msleep_interruptible_rsl

PATCH In review Amitoj Kaur Chawla 2 participants 2 messages Feb 13, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 staging: rtl8192u: ieee80211: ieee80211_softmac: Replace driver specific macro msleep_interruptible_rsl

Replace driver specific msleep_interruptible_rsl macro with direct call to msleep_interruptible.

---
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c +1 -1
index 6d85648..c1995f2 100644
@@ -469,7 +469,7 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee)
 		if (ieee->state >= IEEE80211_LINKED && ieee->sync_scan_hurryup)
 			goto out;
 
-		msleep_interruptible_rsl(IEEE80211_SOFTMAC_SCAN_TIME);
+		msleep_interruptible(IEEE80211_SOFTMAC_SCAN_TIME);
 
 	}
 out:
Signature · 1 line
1.9.1
Reviewed-by on v1 1/2
#1 lore raw
Quoted 4 lines · Amitoj Kaur Chawla

Replace driver specific msleep_interruptible_rsl macro with direct call to msleep_interruptible.

Quoted 26 lines
---
 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c +1 -2
index 6d85648..c1995f2 100644
@@ -469,7 +469,7 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee)
                if (ieee->state >= IEEE80211_LINKED && ieee->sync_scan_hurryup)
                        goto out;
 
-               msleep_interruptible_rsl(IEEE80211_SOFTMAC_SCAN_TIME);
+               msleep_interruptible(IEEE80211_SOFTMAC_SCAN_TIME);
 
        }
 out:
--

1.9.1

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160213070133.GA21052%40amitoj-Inspiron-3542.
For more options, visit https://groups.google.com/d/optout.

Signature · 1 line
Vaishali