diff options
Diffstat (limited to 'drivers/net/ps3_gelic_wireless.c')
-rw-r--r-- | drivers/net/ps3_gelic_wireless.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/net/ps3_gelic_wireless.c b/drivers/net/ps3_gelic_wireless.c index 43b8d7797f0a..2e62938c0f82 100644 --- a/drivers/net/ps3_gelic_wireless.c +++ b/drivers/net/ps3_gelic_wireless.c | |||
@@ -85,12 +85,12 @@ static const int bitrate_list[] = { | |||
85 | */ | 85 | */ |
86 | static inline int wpa2_capable(void) | 86 | static inline int wpa2_capable(void) |
87 | { | 87 | { |
88 | return (0 <= ps3_compare_firmware_version(2, 0, 0)); | 88 | return 0 <= ps3_compare_firmware_version(2, 0, 0); |
89 | } | 89 | } |
90 | 90 | ||
91 | static inline int precise_ie(void) | 91 | static inline int precise_ie(void) |
92 | { | 92 | { |
93 | return (0 <= ps3_compare_firmware_version(2, 2, 0)); | 93 | return 0 <= ps3_compare_firmware_version(2, 2, 0); |
94 | } | 94 | } |
95 | /* | 95 | /* |
96 | * post_eurus_cmd helpers | 96 | * post_eurus_cmd helpers |
@@ -506,7 +506,7 @@ static size_t gelic_wl_synthesize_ie(u8 *buf, | |||
506 | start[1] = (buf - start - 2); | 506 | start[1] = (buf - start - 2); |
507 | 507 | ||
508 | pr_debug("%s: ->\n", __func__); | 508 | pr_debug("%s: ->\n", __func__); |
509 | return (buf - start); | 509 | return buf - start; |
510 | } | 510 | } |
511 | 511 | ||
512 | struct ie_item { | 512 | struct ie_item { |
@@ -814,7 +814,7 @@ static int gelic_wl_set_auth(struct net_device *netdev, | |||
814 | * you will not decide suitable cipher from | 814 | * you will not decide suitable cipher from |
815 | * its beacon. | 815 | * its beacon. |
816 | * You should have knowledge about the AP's | 816 | * You should have knowledge about the AP's |
817 | * cipher infomation in other method prior to | 817 | * cipher information in other method prior to |
818 | * the association. | 818 | * the association. |
819 | */ | 819 | */ |
820 | if (!precise_ie()) | 820 | if (!precise_ie()) |
@@ -2581,10 +2581,6 @@ static const struct net_device_ops gelic_wl_netdevice_ops = { | |||
2581 | static const struct ethtool_ops gelic_wl_ethtool_ops = { | 2581 | static const struct ethtool_ops gelic_wl_ethtool_ops = { |
2582 | .get_drvinfo = gelic_net_get_drvinfo, | 2582 | .get_drvinfo = gelic_net_get_drvinfo, |
2583 | .get_link = gelic_wl_get_link, | 2583 | .get_link = gelic_wl_get_link, |
2584 | .get_tx_csum = ethtool_op_get_tx_csum, | ||
2585 | .set_tx_csum = ethtool_op_set_tx_csum, | ||
2586 | .get_rx_csum = gelic_net_get_rx_csum, | ||
2587 | .set_rx_csum = gelic_net_set_rx_csum, | ||
2588 | }; | 2584 | }; |
2589 | 2585 | ||
2590 | static void __devinit gelic_wl_setup_netdev_ops(struct net_device *netdev) | 2586 | static void __devinit gelic_wl_setup_netdev_ops(struct net_device *netdev) |