forked from luck/tmp_suning_uos_patched
libertas: set dev_addr on rtap device
This lets us bring it up, because eth_validate_addr() succeeds instead of returning -EINVAL. And finally monitor mode seems to (mostly) work. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
d9268fb9a1
commit
121947c62a
@ -1473,6 +1473,7 @@ int lbs_add_rtap(struct lbs_private *priv)
|
||||
if (rtap_dev == NULL)
|
||||
return -ENOMEM;
|
||||
|
||||
memcpy(rtap_dev->dev_addr, priv->current_addr, ETH_ALEN);
|
||||
rtap_dev->type = ARPHRD_IEEE80211_RADIOTAP;
|
||||
rtap_dev->open = lbs_rtap_open;
|
||||
rtap_dev->stop = lbs_rtap_stop;
|
||||
|
Loading…
Reference in New Issue
Block a user