diff options
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/main.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/rx.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwmc3200wifi/main.c b/drivers/net/wireless/iwmc3200wifi/main.c index c41fa8c5fa11..6cf2f0c0911e 100644 --- a/drivers/net/wireless/iwmc3200wifi/main.c +++ b/drivers/net/wireless/iwmc3200wifi/main.c | |||
@@ -128,8 +128,8 @@ static void iwm_disconnect_work(struct work_struct *work) | |||
128 | cfg80211_disconnected(iwm_to_ndev(iwm), 0, NULL, 0, GFP_KERNEL); | 128 | cfg80211_disconnected(iwm_to_ndev(iwm), 0, NULL, 0, GFP_KERNEL); |
129 | } | 129 | } |
130 | 130 | ||
131 | int __iwm_up(struct iwm_priv *iwm); | 131 | static int __iwm_up(struct iwm_priv *iwm); |
132 | int __iwm_down(struct iwm_priv *iwm); | 132 | static int __iwm_down(struct iwm_priv *iwm); |
133 | 133 | ||
134 | static void iwm_reset_worker(struct work_struct *work) | 134 | static void iwm_reset_worker(struct work_struct *work) |
135 | { | 135 | { |
@@ -559,7 +559,7 @@ static int iwm_channels_init(struct iwm_priv *iwm) | |||
559 | return 0; | 559 | return 0; |
560 | } | 560 | } |
561 | 561 | ||
562 | int __iwm_up(struct iwm_priv *iwm) | 562 | static int __iwm_up(struct iwm_priv *iwm) |
563 | { | 563 | { |
564 | int ret; | 564 | int ret; |
565 | struct iwm_notif *notif_reboot, *notif_ack = NULL; | 565 | struct iwm_notif *notif_reboot, *notif_ack = NULL; |
@@ -693,7 +693,7 @@ int iwm_up(struct iwm_priv *iwm) | |||
693 | return ret; | 693 | return ret; |
694 | } | 694 | } |
695 | 695 | ||
696 | int __iwm_down(struct iwm_priv *iwm) | 696 | static int __iwm_down(struct iwm_priv *iwm) |
697 | { | 697 | { |
698 | int ret; | 698 | int ret; |
699 | 699 | ||
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, | |||
850 | iwm->resp_ie_len, GFP_KERNEL); | 850 | iwm->resp_ie_len, GFP_KERNEL); |
851 | } else { | 851 | } else { |
852 | IWM_ERR(iwm, "Unsupported management frame: 0x%x", | 852 | IWM_ERR(iwm, "Unsupported management frame: 0x%x", |
853 | cpu_to_le16(mgt->frame_control)); | 853 | le16_to_cpu(mgt->frame_control)); |
854 | return 0; | 854 | return 0; |
855 | } | 855 | } |
856 | 856 | ||