diff options
-rw-r--r-- | net/mac80211/driver-ops.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index af4691fed645..e8dbda1b5b8a 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h | |||
@@ -7,7 +7,9 @@ | |||
7 | 7 | ||
8 | static inline void check_sdata_in_driver(struct ieee80211_sub_if_data *sdata) | 8 | static inline void check_sdata_in_driver(struct ieee80211_sub_if_data *sdata) |
9 | { | 9 | { |
10 | WARN_ON(!(sdata->flags & IEEE80211_SDATA_IN_DRIVER)); | 10 | WARN(!(sdata->flags & IEEE80211_SDATA_IN_DRIVER), |
11 | "%s: Failed check-sdata-in-driver check, flags: 0x%x\n", | ||
12 | sdata->dev->name, sdata->flags); | ||
11 | } | 13 | } |
12 | 14 | ||
13 | static inline struct ieee80211_sub_if_data * | 15 | static inline struct ieee80211_sub_if_data * |