I have tried out the ath9k driver with an appropriate atheros card.

But while setting the card to ocb mode I recieved an error.These are the commands I used.

sudo iw reg set DE

sudo ip link set wlan0 down

sudo iw dev wlan0 set type ocb // Worked fine till here

sudo ip link set wlan0 up // Produces Error here

When I try to bring the card back up it gives me an error which read "operation not permitted".

Here is a link to the instructions I was following.

https://gist.github.com/lisovy/80dde5a792e774a706a9

Similar questions and discussions