Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162005
b: refs/heads/master
c: 84d9bd7
h: refs/heads/master
i:
  162003: a4e06b3
v: v3
  • Loading branch information
Moritz Muehlenhoff authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 156fbaf commit 4c55353
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f5851917c7a2b29b0f73d974f241b9f8aaa62dd
refs/heads/master: 84d9bd7d55fea1d1da364a4cdd9766f1b26aa747
3 changes: 0 additions & 3 deletions trunk/drivers/staging/wlan-ng/p80211netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,9 +764,6 @@ int wlan_setup(wlandevice_t *wlandev)
dev->ml_priv = wlandev;
dev->netdev_ops = &p80211_netdev_ops;

#if (WIRELESS_EXT < 21)
dev->get_wireless_stats = p80211wext_get_wireless_stats;
#endif
dev->wireless_handlers = &p80211wext_handler_def;

netif_stop_queue(dev);
Expand Down
8 changes: 0 additions & 8 deletions trunk/drivers/staging/wlan-ng/p80211wext.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,9 +689,6 @@ static int p80211wext_giwessid(netdevice_t *dev,
data->flags = 1;
memcpy(essid, wlandev->ssid.data, data->length);
essid[data->length] = 0;
#if (WIRELESS_EXT < 21)
data->length++;
#endif
} else {
memset(essid, 0, sizeof(wlandev->ssid.data));
data->length = 0;
Expand Down Expand Up @@ -724,11 +721,6 @@ static int p80211wext_siwessid(netdevice_t *dev,

msg.msgcode = DIDmsg_lnxreq_autojoin;

#if (WIRELESS_EXT < 21)
if (length)
length--;
#endif

/* Trim the last '\0' to fit the SSID format */
if (length && essid[length - 1] == '\0')
length--;
Expand Down

0 comments on commit 4c55353

Please sign in to comment.