[lkml]   [2008]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/2 update] misc: Add dell-laptop driver
    On Thu, 04 Dec 2008, Alan Jenkins wrote:
    > I still think you need to initialise wifi_rfkill->state before you call
    > rfkill_register().
    > It seems an easy mistake, probably the rfkill core should test for it.

    Well, yes, I could add that paranoia to the core. Added to the todo

    But the core will re-init rfkill->state from rfkill->get_state(), so
    it is not a serious problem at all (since the drive provides

    The reason it is recommended to always init the thing, is that if you
    later move to a purely event-driven rfkill interface, you won't break

    "One disk to rule them all, One disk to find them. One disk to bring
    them all and in the darkness grind them. In the Land of Redmond
    where the shadows lie." -- The Silicon Valley Tarot
    Henrique Holschuh

     \ /
      Last update: 2008-12-05 03:11    [W:0.029 / U:27.844 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site