summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwmc3200wifi/rx.c
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2009-09-01 15:14:03 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-09-01 18:48:27 +0200
commit31452420ca956f2cf37f705c869e265c33894f07 (patch)
tree2b699a8294213067cea7257eb4fb33d76cb563ab /drivers/net/wireless/iwmc3200wifi/rx.c
parentiwmc3200wifi: add disconnect work (diff)
downloadlinux-31452420ca956f2cf37f705c869e265c33894f07.tar.xz
linux-31452420ca956f2cf37f705c869e265c33894f07.zip
iwmc3200wifi: fix misuse of le16_to_cpu
Also mark some functions static. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/rx.c')
-rw-r--r--drivers/net/wireless/iwmc3200wifi/rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/rx.c b/drivers/net/wireless/iwmc3200wifi/rx.c
index 4d9793e68650..2daa58633e6f 100644
--- a/drivers/net/wireless/iwmc3200wifi/rx.c
+++ b/drivers/net/wireless/iwmc3200wifi/rx.c
@@ -850,7 +850,7 @@ static int iwm_mlme_mgt_frame(struct iwm_priv *iwm, u8 *buf,
iwm->resp_ie_len, GFP_KERNEL);
} else {
IWM_ERR(iwm, "Unsupported management frame: 0x%x",
- cpu_to_le16(mgt->frame_control));
+ le16_to_cpu(mgt->frame_control));
return 0;
}