projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49ca37e
)
wireless: fix to set dev->broadcast correctly
author
Wei Yongjun
<yjwei@cn.fujitsu.com>
Wed, 13 May 2009 01:47:38 +0000
(09:47 +0800)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 20 May 2009 18:46:31 +0000
(14:46 -0400)
This patch fix to set dev->broadcast correctly, since
dev->broadcast is defined as:
unsigned char broadcast[MAX_ADDR_LEN];
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/strip.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/strip.c
b/drivers/net/wireless/strip.c
index f9520463269074eee8fb724ddc75b002de86103e..b7b0c46adb4629e449cc14c357500e817f60fafc 100644
(file)
--- a/
drivers/net/wireless/strip.c
+++ b/
drivers/net/wireless/strip.c
@@
-2509,7
+2509,7
@@
static void strip_dev_setup(struct net_device *dev)
* netdev_priv(dev) Already holds a pointer to our struct strip
*/
- *(MetricomAddress *)
&
dev->broadcast = broadcast_address;
+ *(MetricomAddress *)dev->broadcast = broadcast_address;
dev->dev_addr[0] = 0;
dev->addr_len = sizeof(MetricomAddress);