Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121568
b: refs/heads/master
c: 5d6924e
h: refs/heads/master
v: v3
  • Loading branch information
Rami Rosen authored and John W. Linville committed Oct 31, 2008
1 parent b949b03 commit 17f59cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3195c1f3499912b207ae600968488759b16037fc
refs/heads/master: 5d6924eaf07bec9ce7527cad9d2537e448574738
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ struct hwsim_sta_priv {
static inline void hwsim_check_sta_magic(struct ieee80211_sta *sta)
{
struct hwsim_sta_priv *sp = (void *)sta->drv_priv;
WARN_ON(sp->magic != HWSIM_VIF_MAGIC);
WARN_ON(sp->magic != HWSIM_STA_MAGIC);
}

static inline void hwsim_set_sta_magic(struct ieee80211_sta *sta)
{
struct hwsim_sta_priv *sp = (void *)sta->drv_priv;
sp->magic = HWSIM_VIF_MAGIC;
sp->magic = HWSIM_STA_MAGIC;
}

static inline void hwsim_clear_sta_magic(struct ieee80211_sta *sta)
Expand Down

0 comments on commit 17f59cc

Please sign in to comment.