All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] mac80211_hwsim: add trivial switch cases
@ 2008-11-28 22:45 Christian Lamparter
  0 siblings, 0 replies; only message in thread
From: Christian Lamparter @ 2008-11-28 22:45 UTC (permalink / raw)
  To: linux-wireless; +Cc: Johannes Berg, John W Linville, j, Stefan Steuerwald

This patch fixes the following warnings:

In function =E2=80=98mac80211_hwsim_sta_notify=E2=80=99:
warning: enumeration value =E2=80=98STA_NOTIFY_SLEEP=E2=80=99 not handl=
ed in switch
warning: enumeration value =E2=80=98STA_NOTIFY_AWAKE=E2=80=99 not handl=
ed in switch

Signed-off-by: Christian Lamparter <chunkeey@web.de>
---
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wirele=
ss/mac80211_hwsim.c
index f43da1c..e2c50ed 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -524,6 +524,10 @@ static void mac80211_hwsim_sta_notify(struct ieee8=
0211_hw *hw,
 	case STA_NOTIFY_REMOVE:
 		hwsim_clear_sta_magic(sta);
 		break;
+	case STA_NOTIFY_AWAKE:
+	case STA_NOTIFY_SLEEP:
+		/* TODO: make good use of these callbacks */
+		break;
 	}
 }
=20
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-28 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-28 22:45 [PATCH 2/3] mac80211_hwsim: add trivial switch cases Christian Lamparter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.