diff options
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 6ba50f087f7b..e855211a90f8 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -267,7 +267,7 @@ static void mac80211_hwsim_beacon_tx(void *arg, u8 *mac, | |||
267 | struct sk_buff *skb; | 267 | struct sk_buff *skb; |
268 | struct ieee80211_tx_info *info; | 268 | struct ieee80211_tx_info *info; |
269 | 269 | ||
270 | if (vif->type != IEEE80211_IF_TYPE_AP) | 270 | if (vif->type != NL80211_IFTYPE_AP) |
271 | return; | 271 | return; |
272 | 272 | ||
273 | skb = ieee80211_beacon_get(hw, vif); | 273 | skb = ieee80211_beacon_get(hw, vif); |