mac80211_hwsim: add trivial switch cases
Subsystems (2)
PATCH 2/3 mac80211_hwsim: add trivial switch cases
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 <[email protected]>
---
drivers/net/wirele= renamed from drivers/net/wireless/mac80211_hwsim.c +0 -0
ss/mac80211_hwsim.c
index f43da1c..e2c50ed 100644
drivers/net/wireless/mac80211_hwsim.c +0 -0
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html