mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
wiress/ieee80211: Broadcom network driver needs to register as an ieee802.11 driver, not an Ethernet driver.
This commit is contained in:
@@ -1180,7 +1180,7 @@ int bcmf_initialize(int intf)
|
||||
|
||||
/* Register the device with the OS so that socket IOCTLs can be performed */
|
||||
|
||||
(void)netdev_register(&priv->bc_dev, NET_LL_ETHERNET);
|
||||
(void)netdev_register(&priv->bc_dev, NET_LL_IEEE80211);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user