Commit:     121947c62ab049bfaeb8fadc9908834b5a99daf0
Parent:     d9268fb9a124d067cf93710a85bb6c158d131c97
Author:     David Woodhouse <[EMAIL PROTECTED]>
AuthorDate: Sun Dec 9 19:54:11 2007 -0500
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:06:27 2008 -0800

    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 <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
 drivers/net/wireless/libertas/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/libertas/main.c 
index 55dce8d..e9c6b4f 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to