On Fri, 2009-07-10 at 11:01 +0900, Nick Hastings wrote:
> Package: linux-source-2.6.30
> Version: 2.6.30-1
> Severity: normal
>
> After upgrading my kernel from 2.6.29 to 2.6.30 I am unable to set the
> MAC address of my Prism 2.5 pci wireless NIC using the orinoco-pci
> driver. My interfaces file has a section like:
>
> iface eth1-foo inet dhcp
> wireless_key s:foobar
> wireless_essid barfoo
> wireless_mode managed
> hwaddress ether 00:01:02:03:04:05
>
> Trying to bring up this interface results in the following:
>
> # ifscheme foo
> # ifup eth1
> SIOCSIFHWADDR: Operation not supported
> Failed to bring up eth1-foo
[...]
The MAC change operation seems to have been accidentally left out of
this driver in a change to the way net device operations are set up.
Please try applying the following patch:
--- a/drivers/net/wireless/orinoco/main.c
+++ b/drivers/net/wireless/orinoco/main.c
@@ -2523,6 +2523,8 @@ static const struct net_device_ops orinoco_netdev_ops = {
.ndo_change_mtu = orinoco_change_mtu,
.ndo_tx_timeout = orinoco_tx_timeout,
.ndo_get_stats = orinoco_get_stats,
+ .ndo_set_mac_address = eth_mac_addr,
+ .ndo_validate_addr = eth_validate_addr,
};
struct net_device
--- END ---
Ben.
--
Ben Hutchings
The generation of random numbers is too important to be left to chance.
- Robert Coveyou
Attachment:
signature.asc
Description: This is a digitally signed message part