diff options
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index ac205a33690f..c0368152b721 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -2588,9 +2588,7 @@ static int prepare_for_handlers(struct ieee80211_sub_if_data *sdata, | |||
2588 | if (compare_ether_addr(sdata->u.wds.remote_addr, hdr->addr2)) | 2588 | if (compare_ether_addr(sdata->u.wds.remote_addr, hdr->addr2)) |
2589 | return 0; | 2589 | return 0; |
2590 | break; | 2590 | break; |
2591 | case NL80211_IFTYPE_MONITOR: | 2591 | default: |
2592 | case NL80211_IFTYPE_UNSPECIFIED: | ||
2593 | case NUM_NL80211_IFTYPES: | ||
2594 | /* should never get here */ | 2592 | /* should never get here */ |
2595 | WARN_ON(1); | 2593 | WARN_ON(1); |
2596 | break; | 2594 | break; |