Results 1 to 2 of 2

Thread: Problems with comiling ath9k after patching 'Override regulatory domain'

  1. #1
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    17

    Default Problems with comiling ath9k after patching 'Override regulatory domain'

    I applied http://patches.aircrack-ng.org/ath9k...override.patch to my ath9k source.
    Patching worked fine with no errors.

    Next step i assumed to do is to recompile that ath9k.ko module so i tried:
    Code:
    make CONFIG_ATH9K=m -C /lib/modules/2.6.30.9/build M=`pwd` clean
    then
    Code:
    make CONFIG_ATH9K=m -C /lib/modules/2.6.30.9/build M=`pwd` modules
    but that drops me :

    Code:
    root@bt:/usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k# make CONFIG_ATH9K=m -C /lib/modules/2.6.30.9/build M=`pwd` modules
    make: Entering directory `/usr/src/linux-source-2.6.30.9'
      CC [M]  /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/hw.o
      CC [M]  /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/eeprom.o
      CC [M]  /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/mac.o
      CC [M]  /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/calib.o
      CC [M]  /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/ani.o
      CC [M]  /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/phy.o
      CC [M]  /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/regd.o
      CC [M]  /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/beacon.o
      CC [M]  /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/main.o
    /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/main.c: In function 'ath_attach':
    /usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/main.c:1658: error: 'struct ath_softc' has no member named 'common'
    make[1]: *** [/usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k/main.o] Error 1
    make: *** [_module_/usr/src/linux-source-2.6.30.9/drivers/net/wireless/ath9k] Error 2
    make: Leaving directory `/usr/src/linux-source-2.6.30.9'

  2. #2
    Member
    Join Date
    Feb 2010
    Location
    MTI3LjAuMC4x
    Posts
    90

    Default Re: Problems with comiling ath9k after patching 'Override regulatory domain'

    seems like you have much better support here...
    Overriding regulatory domain for ath5k, ath9k and ar9170

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •