diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2006-08-31 11:01:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-09-25 16:52:16 -0400 |
commit | b978d0278c3a4c41bda806743c6ef5dca86b4c61 (patch) | |
tree | be2aa99aec33494c13326fd5606fad1ee6b55c12 /drivers/net/wireless/bcm43xx/bcm43xx_wx.c | |
parent | a6082f4032a9667e844fecd974f17268249fb966 (diff) |
[PATCH] bcm43xx: WE-21 support
Patch to make bcm43xx-softmac be compatible with the revised SSID
length of WE-21.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_wx.c')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_wx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_wx.c b/drivers/net/wireless/bcm43xx/bcm43xx_wx.c index 888077fc14c4..9b7b15cf6561 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_wx.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_wx.c | |||
@@ -334,7 +334,7 @@ static int bcm43xx_wx_get_nick(struct net_device *net_dev, | |||
334 | size_t len; | 334 | size_t len; |
335 | 335 | ||
336 | mutex_lock(&bcm->mutex); | 336 | mutex_lock(&bcm->mutex); |
337 | len = strlen(bcm->nick) + 1; | 337 | len = strlen(bcm->nick); |
338 | memcpy(extra, bcm->nick, len); | 338 | memcpy(extra, bcm->nick, len); |
339 | data->data.length = (__u16)len; | 339 | data->data.length = (__u16)len; |
340 | data->data.flags = 1; | 340 | data->data.flags = 1; |