projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2105fa
)
iwlcore: fix channel display in debugfs
author
Mohamed Abbas
<
[email protected]
>
Wed, 8 Apr 2009 18:39:31 +0000
(11:39 -0700)
committer
John W. Linville
<
[email protected]
>
Wed, 22 Apr 2009 20:54:44 +0000
(16:54 -0400)
Fix displaying of wrong channel information when user query
channel through debugfs
Signed-off-by: Mohamed Abbas <
[email protected]
>
Signed-off-by: Reinette Chatre <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/iwlwifi/iwl-debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/iwl-debugfs.c
b/drivers/net/wireless/iwlwifi/iwl-debugfs.c
index af1d1214b1841e9b3568e6378d679f726e86d2da..5b8c83939bf0cff35b6228c3aec0f0c12083ee8e 100644
(file)
--- 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,
channels[i].max_power,
channels[i].flags & IEEE80211_CHAN_RADAR ?
" (IEEE 802.11h required)" : "",
- (
!
(channels[i].flags & IEEE80211_CHAN_NO_IBSS)
+ ((channels[i].flags & IEEE80211_CHAN_NO_IBSS)
|| (channels[i].flags &
IEEE80211_CHAN_RADAR)) ? "" :
", IBSS",