core.h (01a0ac417ce9b4f1216a266f2fd454cffefc5aee) | core.h (f7969969f416e593bcc7dc24abf3f9fd6c27136d) |
---|---|
1/* 2 * Wireless configuration interface internals. 3 * 4 * Copyright 2006-2009 Johannes Berg <johannes@sipsolutions.net> 5 */ 6#ifndef __NET_WIRELESS_CORE_H 7#define __NET_WIRELESS_CORE_H 8#include <linux/mutex.h> --- 366 unchanged lines hidden (view full) --- 375 376struct ieee80211_channel * 377rdev_fixed_channel(struct cfg80211_registered_device *rdev, 378 struct wireless_dev *for_wdev); 379int rdev_set_freq(struct cfg80211_registered_device *rdev, 380 struct wireless_dev *for_wdev, 381 int freq, enum nl80211_channel_type channel_type); 382 | 1/* 2 * Wireless configuration interface internals. 3 * 4 * Copyright 2006-2009 Johannes Berg <johannes@sipsolutions.net> 5 */ 6#ifndef __NET_WIRELESS_CORE_H 7#define __NET_WIRELESS_CORE_H 8#include <linux/mutex.h> --- 366 unchanged lines hidden (view full) --- 375 376struct ieee80211_channel * 377rdev_fixed_channel(struct cfg80211_registered_device *rdev, 378 struct wireless_dev *for_wdev); 379int rdev_set_freq(struct cfg80211_registered_device *rdev, 380 struct wireless_dev *for_wdev, 381 int freq, enum nl80211_channel_type channel_type); 382 |
383#ifdef CONFIG_CFG80211_DEVELOPER_WARNINGS 384#define CFG80211_DEV_WARN_ON(cond) WARN_ON(cond) 385#else 386/* 387 * Trick to enable using it as a condition, 388 * and also not give a warning when it's 389 * not used that way. 390 */ 391#define CFG80211_DEV_WARN_ON(cond) ({bool __r = (cond); __r; }) 392#endif 393 |
|
383#endif /* __NET_WIRELESS_CORE_H */ | 394#endif /* __NET_WIRELESS_CORE_H */ |