aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/cfg.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-13 10:23:07 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-07-31 10:19:51 -0400
commite83e6541cee0a12bc445b0f4fad5214df5803087 (patch)
treef236e4e330e7c05ca63b350f43f3a97ff9b3e660 /net/mac80211/cfg.c
parent1411af156524ce42c2a7f989320c4484257f3ff5 (diff)
mac80211: use eth_broadcast_addr
Instead of memset(). Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 5583f5b73dc9..df64b455821d 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -950,7 +950,7 @@ static void ieee80211_send_layer2_update(struct sta_info *sta)
950 /* 802.2 Type 1 Logical Link Control (LLC) Exchange Identifier (XID) 950 /* 802.2 Type 1 Logical Link Control (LLC) Exchange Identifier (XID)
951 * Update response frame; IEEE Std 802.2-1998, 5.4.1.2.1 */ 951 * Update response frame; IEEE Std 802.2-1998, 5.4.1.2.1 */
952 952
953 memset(msg->da, 0xff, ETH_ALEN); 953 eth_broadcast_addr(msg->da);
954 memcpy(msg->sa, sta->sta.addr, ETH_ALEN); 954 memcpy(msg->sa, sta->sta.addr, ETH_ALEN);
955 msg->len = htons(6); 955 msg->len = htons(6);
956 msg->dsap = 0; 956 msg->dsap = 0;