diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-03 11:31:37 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-06 14:55:55 -0500 |
commit | c8b03958d4b23dc48932ec095a391f3d6447e0e9 (patch) | |
tree | fdc4b320476f9be764586387c52f13dfd740a8c1 /drivers/net/wireless/iwlegacy/debug.c | |
parent | caf60a6c957e7a35837a41f845e57b4433e20276 (diff) |
iwlegacy: move rxon commands out of ctx structure
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/debug.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlegacy/debug.c b/drivers/net/wireless/iwlegacy/debug.c index b1b8926a9c7b..6e3841beb1df 100644 --- a/drivers/net/wireless/iwlegacy/debug.c +++ b/drivers/net/wireless/iwlegacy/debug.c | |||
@@ -1153,7 +1153,7 @@ il_dbgfs_rxon_flags_read(struct file *file, char __user *user_buf, | |||
1153 | int len = 0; | 1153 | int len = 0; |
1154 | char buf[20]; | 1154 | char buf[20]; |
1155 | 1155 | ||
1156 | len = sprintf(buf, "0x%04X\n", le32_to_cpu(il->ctx.active.flags)); | 1156 | len = sprintf(buf, "0x%04X\n", le32_to_cpu(il->active.flags)); |
1157 | return simple_read_from_buffer(user_buf, count, ppos, buf, len); | 1157 | return simple_read_from_buffer(user_buf, count, ppos, buf, len); |
1158 | } | 1158 | } |
1159 | 1159 | ||
@@ -1167,7 +1167,7 @@ il_dbgfs_rxon_filter_flags_read(struct file *file, char __user *user_buf, | |||
1167 | char buf[20]; | 1167 | char buf[20]; |
1168 | 1168 | ||
1169 | len = | 1169 | len = |
1170 | sprintf(buf, "0x%04X\n", le32_to_cpu(il->ctx.active.filter_flags)); | 1170 | sprintf(buf, "0x%04X\n", le32_to_cpu(il->active.filter_flags)); |
1171 | return simple_read_from_buffer(user_buf, count, ppos, buf, len); | 1171 | return simple_read_from_buffer(user_buf, count, ppos, buf, len); |
1172 | } | 1172 | } |
1173 | 1173 | ||