diff options
author | Mohamed Abbas <mohamed.abbas@intel.com> | 2009-04-08 14:39:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:44 -0400 |
commit | 1620108910b07bc41f4ad462ca56e899faf7e61a (patch) | |
tree | ed7c28ae535cb9398c4fce90ef081fc8d8fad550 /drivers/net/wireless/iwlwifi/iwl-debugfs.c | |
parent | c2105fa7b68547a414095cfbf59bf513a9aae3ce (diff) |
iwlcore: fix channel display in debugfs
Fix displaying of wrong channel information when user query
channel through debugfs
Signed-off-by: Mohamed Abbas <mohamed.abbas@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-debugfs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c index af1d1214b184..5b8c83939bf0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c +++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c | |||
@@ -389,7 +389,7 @@ static ssize_t iwl_dbgfs_channels_read(struct file *file, char __user *user_buf, | |||
389 | channels[i].max_power, | 389 | channels[i].max_power, |
390 | channels[i].flags & IEEE80211_CHAN_RADAR ? | 390 | channels[i].flags & IEEE80211_CHAN_RADAR ? |
391 | " (IEEE 802.11h required)" : "", | 391 | " (IEEE 802.11h required)" : "", |
392 | (!(channels[i].flags & IEEE80211_CHAN_NO_IBSS) | 392 | ((channels[i].flags & IEEE80211_CHAN_NO_IBSS) |
393 | || (channels[i].flags & | 393 | || (channels[i].flags & |
394 | IEEE80211_CHAN_RADAR)) ? "" : | 394 | IEEE80211_CHAN_RADAR)) ? "" : |
395 | ", IBSS", | 395 | ", IBSS", |